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”)))
登录后可查看完整内容,参与讨论!
立即登录