Skip to content

A persistent key-value storage in rust, based on LSM tree

License

Notifications You must be signed in to change notification settings

Tianion/topazdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topazdb

A persistent key-value storage in rust, based on LSM tree.

This project is still under development.

example

fn main() {
    let storage = topazdb::opt::LsmOptions::default()
        .path("./")
        .open()
        .unwrap();
    storage.put(b"key", b"value").unwrap();
    let value = storage.get(b"key").unwrap();
    println!("value: {value:?}");
    storage.delete(b"key").unwrap();
    let value = storage.get(b"key").unwrap();
    println!("value: {value:?}");
}

Reference

About

A persistent key-value storage in rust, based on LSM tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages