random-word-generator

Crates.iorandom-word-generator
lib.rsrandom-word-generator
version0.1.0
sourcesrc
created_at2023-05-18 22:25:58.646445
updated_at2023-05-18 22:25:58.646445
descriptionGet a raondom word in different language -- Unofficial
homepagehttps://github.com/jacopolucarelli/random-word-generator
repositoryhttps://github.com/jacopolucarelli/random-word-generator
max_upload_size
id868372
size7,720
(jacopolucarelli)

documentation

https://github.com/jacopolucarelli/random-word-generator

README

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
}
Commit count: 0

cargo fmt