5 releases
0.4.3 | Feb 24, 2022 |
---|---|
0.4.2 | Feb 15, 2022 |
0.4.1 | Feb 15, 2022 |
0.1.1 | Jul 4, 2021 |
0.1.0 | Jul 4, 2021 |
#4 in #nanoid
327 downloads per month
Used in 2 crates
(via statehub-id)
7KB
80 lines
nanoid-dictionary
Popular alphabets for use with nanoid::nanoid!()
macro
use nanoid_dictionary::NOLOOKALIKES;
use nanoid::nanoid;
fn main() {
let id = nanoid!(21, NOLOOKALIKES);
println!("{}", id);
}
lib.rs
:
Popular alphabets for use with nanoid::nanoid!()
macro
use nanoid_dictionary::NOLOOKALIKES;
use nanoid::nanoid;
let id = nanoid!(21, NOLOOKALIKES);
assert_eq!(id.len(), 21);
println!("{}", id);