SMILING TREE LOGO

sled

documentation chat Open Collective backers

A modern embedded database. Written in Rust, usable on servers and phones from any C-compatible language.

use sled::Db;

let tree = Db::open(path)?;

tree.insert(k, v)?;

assert_eq!(
  tree.get(&k),
  Ok(Some(v)),
);

for kv in tree.range(k..) {}

tree.remove(&k);

features

references

Hosted on GitHub Pages — Theme by orderedlist