Cargo Features

bip39 = { version = "2.0.0", default-features = false, features = ["std", "rand", "chinese-simplified", "french", "spanish", "all-languages", "zeroize"] }
default = std

The std feature is set by default whenever bip39 is added without default-features = false somewhere in the dependency tree.

std default = unicode-normalization

Enables std of serde


Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

rand = crate_rand, rand_core
chinese-simplified all-languages?

Note: English is the standard for bip39 so always included

chinese-traditional czech french all-languages?
italian japanese korean spanish all-languages?
all-languages = chinese-simplified, chinese-traditional, czech, french, italian, japanese, korean, spanish

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand_core rand?
crate_rand rand?

Enables rand

serde std
zeroize implicit feature

Enables zeroize

Enabling this feature raises the MSRV to 1.51

unicode-normalization std

Enables unicode-normalization =0.1.22