sled 0.15.16

a flash-sympathetic persistent lock-free B+ tree failed to build sled-0.15.16
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure builds.
If you believe this is' fault, open an issue.
Visit the last successful build: sled-1.0.0-alpha.118

sled is a flash-sympathetic persistent lock-free B+ tree.


let config = sled::ConfigBuilder::new().temporary(true).build();

let t = sled::Tree::start(config).unwrap();

t.set(b"yo!".to_vec(), b"v1".to_vec());
assert_eq!(t.get(b"yo!"), Ok(Some(b"v1".to_vec())));

    b"yo!".to_vec(),       // key
    Some(b"v1".to_vec()),  // old value, None for not present
    Some(b"v2".to_vec()),  // new value, None for delete

let mut iter = t.scan(b"a non-present key before yo!");
assert_eq!(, Some(Ok((b"yo!".to_vec(), b"v2".to_vec()))));
assert_eq!(, None);

assert_eq!(t.get(b"yo!"), Ok(None));