libdictenstein 0.2.0

High-performance dictionary data structures (trie, DAWG, double-array trie, suffix automaton, lock-free durable persistent ART) behind one trait API; pairs with liblevenshtein for fuzzy matching
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    println!("cargo:rustc-check-cfg=cfg(miri)");

    #[cfg(feature = "protobuf")]
    {
        println!("cargo:rerun-if-changed=proto/libdictenstein.proto");
        prost_build::Config::new()
            .compile_protos(&["proto/libdictenstein.proto"], &["proto/"])
            .expect("Failed to compile protobuf definitions");
    }
}