This crate (library) provides a Rust implementation for parsing the dict file format, as used by the dictd server.
Please see the file LiCENSE.md for more information.
Citing from the crates documentation:
fn main() {
let index_file = "/usr/share/dictd/freedict-lat-deu.index";
let dict_file = "/usr/share/dictd/freedict-lat-deu.dict.dz";
let mut latdeu = dict::load_dictionary_from_file(dict_file, index_file).unwrap();
// hey: rust!
println!("{}", latdeu.lookup("ferrugo").unwrap());
}