Skip to content

mattsse/hypertrie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hypertrie

Build Crates.io Documentation

Distributed single writer key/value store.

A wip rust implementation of hypertrie that uses a rolling hash array mapped trie to index key/value data.

Full docs available on docs.rs

Usage

let mut trie = hypertrie::HyperTrie::ram().await?;

let hello = trie.put("hello", b"world").await?;
let world = trie.put("hello/world", b"b").await?;

let get = trie.get("hello").await?.unwrap();
assert_eq!(hello, get);

trie.delete("hello").await?;
let get = trie.get("hello").await?;
assert_eq!(None, get);

let get = trie.get("hello/world").await?.unwrap();
assert_eq!(world, get);

References

License

Licensed under either of these:

About

Secure, distributed single writer key/value store

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages