SkillAgentSearch skills...

Hypertrie

Secure, distributed single writer key/value store

Install / Use

/learn @mattsse/Hypertrie
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

  • Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
View on GitHub
GitHub Stars12
CategoryDevelopment
Updated8mo ago
Forks0

Languages

Rust

Security Score

82/100

Audited on Jul 11, 2025

No findings