Cargo Features

[dependencies]
fedimint-patch-bip39 = { version = "2.1.0", default-features = false, features = ["std", "alloc", "rand", "chinese-simplified", "french", "portuguese", "spanish", "all-languages", "zeroize"] }
default = std

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

std default = alloc

Enables std of serde and unicode-normalization =0.1.22

serde:

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

alloc std = unicode-normalization
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 portuguese all-languages?
spanish all-languages?
all-languages = chinese-simplified, chinese-traditional, czech, french, italian, japanese, korean, portuguese, 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 alloc? std

Enables unicode-normalization =0.1.22