1 unstable release
0.1.0 | May 18, 2023 |
---|
#33 in #unofficial
6KB
74 lines
random-word-generator
random-word-generator is a Rust Crate for dealing with random word generation.
Installation
Use the package manager cargo to install random-word-generator.
cargo add random-word-generator
Usage
fn main() {
// returns &str that contains an italian random word
random_word_generator::get_random_word(random_word_generator::Language::ITA).get_word();
// ITA - italian
// ENG - english
// ESP - spanish
// GER - german
// FRE - french
}
Dependencies
~15–27MB
~275K SLoC