friendly-zoo

Crates.iofriendly-zoo
lib.rsfriendly-zoo
version1.1.0
sourcesrc
created_at2020-09-18 20:11:58.412648
updated_at2023-04-03 13:54:10.883283
descriptionA simple crate to generate random animal names
homepage
repositoryhttps://github.com/tronje/friendly-zoo
max_upload_size
id290257
size19,357
Tronje (tronje)

documentation

README

friendly-zoo

A friendly zoo! Use it to generate neat animal names.

Example

use friendly_zoo::{Species, Zoo};

// default zoo
let animal = Zoo::default().generate();
println!("{}", animal);
// prints e.g. "cheerful_otter"

// build your own zoo!
let animal = Zoo::new(Species::Camel, 3).generate();
println!("{}", animal);
// prints e.g. "PoorBallsyElegantCamel"

FAQ

Why the stupid name?

Some guy is squatting zoo on crates.io :(

Commit count: 27

cargo fmt