[−][src]Crate cool_id_generator
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, get_long_id}; fn main() { let my_id = get_id(); println!("{:?}", my_id); let my_long_id = get_long_id(); println!("{:?}", my_long_id); }
Functions
get_id | Creates ids in the format of {adjective}-{suffix}-{animal|job}-{name} e.g. "unpleasant-steampunk-poet-gerald" Generates 55 million combinations |
get_long_id | Creates ids in the format of {name}-the-{adjective}-and-{adjective}-suffix-{animal|job} e.g. "unpleasant-steampunk-poet-gerald" Generates 6 billion combinations |