random_word 0.3.1

Reliable and efficient functions for generating random english words
Documentation

random_word

The random_word crate provides an efficient way to generate random english words.

All words are compiled with the library. This crate is optimized for lookup speed.

Generating a random word

let word = random_word::gen();

Generating a random word starting with 'c'

let word = random_word::gen_starts_with('c');
assert!(word.is_some());

Get all available words

let word_list = random_word::all();