Crates.io | friendly-zoo |
lib.rs | friendly-zoo |
version | 1.1.0 |
source | src |
created_at | 2020-09-18 20:11:58.412648 |
updated_at | 2023-04-03 13:54:10.883283 |
description | A simple crate to generate random animal names |
homepage | |
repository | https://github.com/tronje/friendly-zoo |
max_upload_size | |
id | 290257 |
size | 19,357 |
A friendly zoo! Use it to generate neat animal names.
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"
Some guy is squatting zoo
on crates.io :(