Generic implementation of a trie.
Add trie-generic
to the dependencies on your Cargo.toml file:
rust
[dependencies]
trie-generic = "0.1.2"
t.set(key, value)
t.all() -> (key, value)
t.subtree(prefix) -> Trie
Open a GitHub issue or, preferably, send me a pull request.