1 unstable release

0.1.0 Apr 14, 2023

#9 in #happy

MIT license

4KB

Tries

GitHub Workflow Status Crates.io Crates.io

Rust implementations of Trie.

Example

fn main() {
    let mut trie = tries::Trie::new();
    trie.insert("happy");
    trie.insert("happily");

    assert!(trie.search("happy"));
    assert!(trie.search("happily"));
    assert!(!trie.search("hello"));
}

License

MIT License

Dependencies

~1.5MB
~24K SLoC