Merge pull request #19 from mykmelez/publish-0.9.1

Publish 0.9.1
without.crypto 0.9.1
Myk Melez 6 years ago committed by GitHub
commit 08b8280751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Cargo.toml
  2. 2
      src/lib.rs
  3. 4
      src/transaction.rs

@ -2,7 +2,7 @@
name = "lmdb-rkv" name = "lmdb-rkv"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.9.0" version = "0.9.1"
authors = ["Dan Burkert <dan@danburkert.com>"] authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0" license = "Apache-2.0"

@ -3,7 +3,7 @@
#![cfg_attr(test, feature(test))] #![cfg_attr(test, feature(test))]
#![deny(missing_docs)] #![deny(missing_docs)]
#![doc(html_root_url = "https://docs.rs/lmdb-rkv/0.9.0")] #![doc(html_root_url = "https://docs.rs/lmdb-rkv/0.9.1")]
extern crate libc; extern crate libc;
extern crate lmdb_sys as ffi; extern crate lmdb_sys as ffi;

@ -425,7 +425,7 @@ mod test {
txn.del(db, b"key1", None).unwrap(); txn.del(db, b"key1", None).unwrap();
assert_eq!(txn.get(db, b"key1"), Err(Error::NotFound)); assert_eq!(txn.get(db, b"key1"), Err(Error::NotFound));
} }
#[test] #[test]
fn test_put_get_del_multi() { fn test_put_get_del_multi() {
let dir = TempDir::new("test").unwrap(); let dir = TempDir::new("test").unwrap();
@ -445,7 +445,7 @@ mod test {
txn.commit().unwrap(); txn.commit().unwrap();
let txn = env.begin_rw_txn().unwrap(); let txn = env.begin_rw_txn().unwrap();
{ {
let mut cur = txn.open_ro_cursor(db).unwrap(); let mut cur = txn.open_ro_cursor(db).unwrap();
let iter = cur.iter_dup_of(b"key1"); let iter = cur.iter_dup_of(b"key1");
let vals = iter.map(|(_,x)| x).collect::<Vec<_>>(); let vals = iter.map(|(_,x)| x).collect::<Vec<_>>();

Loading…
Cancel
Save