Crate webster[][src]

Expand description

webster-rs

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

use webster::dictionary;

fn main() {
    let word = dictionary("computer").unwrap();

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

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

Functions

dictionary

Translate a word