19 releases (6 stable)

2.1.0 Oct 6, 2024
2.0.0 Feb 28, 2023
1.2.0 Feb 26, 2023
1.0.1 Apr 1, 2021
0.1.0 Dec 23, 2016

#5 in #bip-39

Download history 53096/week @ 2025-01-04 73997/week @ 2025-01-11 66755/week @ 2025-01-18 61174/week @ 2025-01-25 72716/week @ 2025-02-01 72449/week @ 2025-02-08 70691/week @ 2025-02-15 66489/week @ 2025-02-22 67572/week @ 2025-03-01 70676/week @ 2025-03-08 75209/week @ 2025-03-15 92590/week @ 2025-03-22 95520/week @ 2025-03-29 69516/week @ 2025-04-05 53951/week @ 2025-04-12 69761/week @ 2025-04-19

304,712 downloads per month
Used in 437 crates (126 directly)

CC0 license

330KB
22K SLoC

bip39

A Rust implementation of BIP-39 mnemonic codes.

Word lists (languages)

We support all languages specified in the BIP-39 standard as of writing.

The English language is always loaded and other languages can be loaded using the corresponding feature.

Use the all-languages feature to enable all languages.

  • English (always enabled)
  • Simplified Chinese (chinese-simplified)
  • Traditional Chinese (chinese-traditional)
  • Czech (czech)
  • French (french)
  • Italian (italian)
  • Japanese (japanese)
  • Korean (korean)
  • Portuguese (portuguese)
  • Spanish (spanish)

MSRV

This crate supports Rust v1.41.1 and up and works with no_std.

When using older version of Rust, you might have to pin the version of the bitcoin_hashes crate used as such:

$ cargo update --package "bitcoin_hashes" --precise "0.12.0"

If you enable the zeroize feature the MSRV becomes 1.51.

Dependencies

~0.4–0.8MB
~20K SLoC