sequence_trie 0.3.6

Trie-like data-structure for storing sequences of values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate sequence_trie;
extern crate serde_json;

use sequence_trie::SequenceTrie;

fn main() {
    let mut trie = SequenceTrie::new();
    trie.insert(&["hello", "world"], 56);
    trie.insert(&["hello", "moon"], 57);

    println!("{}", serde_json::to_string_pretty(&trie).unwrap());
}