7 releases (4 stable)

1.0.3 Mar 25, 2024
1.0.2 Feb 10, 2019
0.1.2 Feb 10, 2019
0.1.1 Feb 10, 2019
0.1.0 Feb 3, 2019

#70 in Authentication

Download history 480/week @ 2023-12-23 367/week @ 2023-12-30 607/week @ 2024-01-06 707/week @ 2024-01-13 706/week @ 2024-01-20 657/week @ 2024-01-27 308/week @ 2024-02-03 557/week @ 2024-02-10 562/week @ 2024-02-17 765/week @ 2024-02-24 797/week @ 2024-03-02 618/week @ 2024-03-09 843/week @ 2024-03-16 730/week @ 2024-03-23 615/week @ 2024-03-30 375/week @ 2024-04-06

2,694 downloads per month
Used in 4 crates

AGPL-3.0

220KB
9K SLoC

This crate exposes the EFF wordlists under a Rust API. See EFF's blog post for more information about the wordlists. It contains both large and short wordlists, each of them available via their respective modules.

Examples of usage with the large wordlist:

You can ask for a random word

let word = eff_wordlist::large::random_word();

or use the list as it is

let (first_roll, first_word) = eff_wordlist::large::LIST[0];
assert_eq!(11111, first_roll);
assert_eq!("abacus", first_word);

lib.rs:

This crate exposes the EFF wordlists under a Rust API. See EFF's blog post for more information about the wordlists. It contains both large and short wordlists, each of them available via their respective modules.

Examples:

You can ask for a random word

let word = eff_wordlist::large::random_word();

or use the list as it is

let (first_roll, first_word) = eff_wordlist::large::LIST[0];
assert_eq!(11111, first_roll);
assert_eq!("abacus", first_word);

Dependencies

~315KB