Cargo Features

[dependencies]
bdk_wallet = { version = "1.0.0-beta.5", default-features = false, features = ["std", "compiler", "all-keys", "keys-bip39", "rusqlite", "file_store"] }
default = std

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

std default

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

Enables rusqlite of bdk_chain

file_store = bdk_file_store

Affects persisted::FileStoreError

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