rust sled A (beta) modern embedded database

sled - it's all downhill from here!!!
https://github.com/spacejam/sled

A (beta) modern embedded database. Doesn't your data deserve a (beta) beautiful new home?

let tree = sled::open("/tmp/welcome-to-sled").expect("open");

// insert and get, similar to std's BTreeMap
tree.insert("KEY1", "VAL1");
assert_eq!(tree.get(&"KEY1"), Ok(Some(sled::IVec::from("VAL1"))));

// range queries
for kv in tree.range("KEY1".."KEY9") {}

// deletion
tree.remove(&"KEY1");

// atomic compare and swap
tree.compare_and_swap("KEY1", Some("VAL1"), Some("VAL2"));

// block until all operations are stable on disk
// (flush_async also available to get a Future)
tree.flush();
If you would like to work with structured data without paying expensive deserialization costs, check out the structured example!

performance
LSM tree-like write performance with traditio