Crate webster[][src]

Expand description

webster-rs

A Rust library containing an offline version of webster’s dictionary.

webster = 0.2.0
fn main() {
    let word = "silence";

    let definition = webster::definition(word).unwrap();

    println!("{} definition: {}", word, definition);
}

The definitions are not great but they’ll do for simple projects if you need an open source local dictionary API.

Structs

DICT

Functions

definition

Translate a word