Crate cool_id_generator
source · [−]Expand description
This is a cool-id-generator.
It makes memorable ids. honest-turbo-tailor-gregory, romantic-robot-chicken-kenneth and happy-ultra-barista-shane would approve.
#[macro_use]
use cool_id_generator::{get_id, Size};
let my_id = get_id(Size::Medium);
println!("{:?}", my_id);
let my_long_id = get_id(Size::Long);
println!("{:?}", my_long_id);
Modules
Enums
Size which can be cast into usize
to use as the size of the output byte array e.g.