Crates.io | cool-id-generator |
lib.rs | cool-id-generator |
version | 1.0.1 |
source | src |
created_at | 2020-10-02 17:06:07.898798 |
updated_at | 2022-07-19 10:58:36.791689 |
description | generates the best ids, which are fun to read and fun to eat |
homepage | https://github.com/PSeitz/cool-id-generator |
repository | https://github.com/PSeitz/cool-id-generator |
max_upload_size | |
id | 295476 |
size | 274,534 |
This is a no_std cool-id-generator. It makes memorable ids. honest-turbo-tailor-gregory, romantic-robot-chicken-kenneth and happy-ultra-barista-shane would approve.
Simply add a corresponding entry to your Cargo.toml
dependency list:
[dependencies]
cool-id-generator = "1.0"
cargo test -- --nocapture
cargo bench
running 3 tests
test tests::bench_id ... bench: 243 ns/iter (+/- 51)
test tests::bench_long_id ... bench: 298 ns/iter (+/- 63)
test tests::bench_very_long_id ... bench: 328 ns/iter (+/- 46)