#alphabet #nanoid #dictionary #nolookalikes

nanoid-dictionary

与 nanoid 一起使用的流行字母表

5 个版本

0.4.3 2022 年 2 月 24 日
0.4.2 2022 年 2 月 15 日
0.4.1 2022 年 2 月 15 日
0.1.1 2021 年 7 月 4 日
0.1.0 2021 年 7 月 4 日

#4#nanoid

Download history • Rust 包仓库 136/week @ 2024-03-11 • Rust 包仓库 143/week @ 2024-03-18 • Rust 包仓库 58/week @ 2024-03-25 • Rust 包仓库 109/week @ 2024-04-01 • Rust 包仓库 74/week @ 2024-04-08 • Rust 包仓库 56/week @ 2024-04-15 • Rust 包仓库 120/week @ 2024-04-22 • Rust 包仓库 172/week @ 2024-04-29 • Rust 包仓库 92/week @ 2024-05-06 • Rust 包仓库 107/week @ 2024-05-13 • Rust 包仓库 211/week @ 2024-05-20 • Rust 包仓库 57/week @ 2024-05-27 • Rust 包仓库 116/week @ 2024-06-03 • Rust 包仓库 66/week @ 2024-06-10 • Rust 包仓库 46/week @ 2024-06-17 • Rust 包仓库 97/week @ 2024-06-24 • Rust 包仓库

每月 327 次下载
2 个包中使用 (通过 statehub-id)

MIT 许可证

7KB
80

nanoid-dictionary

nanoid::nanoid!() 宏一起使用的流行字母表

use nanoid_dictionary::NOLOOKALIKES;
use nanoid::nanoid;

fn main() {
    let id = nanoid!(21, NOLOOKALIKES);
    println!("{}", id);
}

lib.rs:

nanoid::nanoid!() 宏一起使用的流行字母表

use nanoid_dictionary::NOLOOKALIKES;
use nanoid::nanoid;

let id = nanoid!(21, NOLOOKALIKES);
assert_eq!(id.len(), 21);
println!("{}", id);

无运行时依赖