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

#64 in Authentication

Download history 555/week @ 2024-08-11 400/week @ 2024-08-18 567/week @ 2024-08-25 634/week @ 2024-09-01 425/week @ 2024-09-08 505/week @ 2024-09-15 504/week @ 2024-09-22 354/week @ 2024-09-29 272/week @ 2024-10-06 345/week @ 2024-10-13 495/week @ 2024-10-20 532/week @ 2024-10-27 636/week @ 2024-11-03 435/week @ 2024-11-10 461/week @ 2024-11-17 531/week @ 2024-11-24

2,089 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

~320KB