Crates.io | bip39 |
lib.rs | bip39 |
version | 2.2.0 |
created_at | 2016-12-23 03:38:40.581741+00 |
updated_at | 2025-06-15 23:27:55.901936+00 |
description | Library for BIP-39 Bitcoin mnemonic codes |
homepage | https://github.com/rust-bitcoin/rust-bip39/ |
repository | https://github.com/rust-bitcoin/rust-bip39/ |
max_upload_size | |
id | 7732 |
size | 356,485 |
A Rust implementation of BIP-39 mnemonic codes.
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
)
This crate supports Rust v1.41.1 and up and works with no_std
.
The bitcoin_hashes
range dependency effects the MSRV as follows
bitcoin_hashes v0.12
: MSRV v1.41.1bitcoin_hashes v0.13
: MSRV v1.48.0When using older version of Rust, you might have to pin the versions of several crates, for an up-to-date list refer to contrib/test.sh
:
cargo update --package "bitcoin_hashes" --precise "0.12.0"
cargo update --package "rand" --precise "0.6.0"
cargo update --package "libc" --precise "0.2.151"
cargo update --package "tinyvec" --precise "1.6.0"
cargo update --package "unicode-normalization" --precise "0.1.22"
If you enable the zeroize
feature the MSRV becomes 1.51.