Cargo Features
[dependencies]
bip0039 = { version = "0.12.0", default-features = false, features = ["std", "all-languages", "chinese-simplified", "chinese-traditional", "czech", "french", "italian", "japanese", "korean", "portuguese", "spanish", "rand"] }
- default = rand, std
-
These default features are set whenever
bip0039
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of hmac, pbkdf2, sha2, and unicode-normalization
- all-languages = chinese-simplified, chinese-traditional, czech, french, italian, japanese, korean, portuguese, spanish
-
Support all languages
Note: English is the standard so always included - chinese-simplified all-languages?
-
Affects
language::ChineseSimplified
… - chinese-traditional all-languages?
-
Affects
language::ChineseTraditional
… - czech all-languages?
-
Affects
language::Czech
… - french all-languages?
-
Affects
language::French
… - italian all-languages?
-
Affects
language::Italian
… - japanese all-languages?
-
Affects
language::Japanese
… - korean all-languages?
-
Affects
language::Korean
… - portuguese all-languages?
-
Affects
language::Portuguese
… - spanish all-languages?
-
Affects
language::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 default