Cargo Features
[dependencies]
bdk_wallet = { version = "1.0.0", default-features = false, features = ["std", "compiler", "all-keys", "keys-bip39", "rusqlite", "file_store", "test-utils"] }
- default = std
-
The
std
feature is set by default wheneverbdk_wallet
is added without
somewhere in the dependency tree.default-features = false - std default test-utils?
-
Enables std of bdk_chain, rand-std and std of bitcoin, std of miniscript
Affects
keys::GeneratableKey.generate
,keys::GeneratableDefaultOptions.generate_default
… - compiler
-
Enables compiler of miniscript
- all-keys = keys-bip39
- keys-bip39 all-keys? = bip39
-
Affects
keys::bip39
… - rusqlite
- file_store = bdk_file_store
-
Affects
persisted::FileStoreError
… - test-utils = std
-
Affects
bdk_wallet::test_utils
…
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.
- bdk_file_store file_store?
- bip39 keys-bip39?
-
Enables bip39
Optional dependencies