Cargo Features

[dependencies]
bdk_chain = { version = "0.20.0", default-features = false, features = ["std", "serde", "hashbrown", "rusqlite", "miniscript"] }
default = miniscript, std

These default features are set whenever bdk_chain is added without default-features = false somewhere in the dependency tree.

std default rusqlite?

Enables std of bdk_core, bitcoin, and optional miniscript

serde rusqlite?

Enables serde, serde of bdk_core, bitcoin, and optional miniscript

hashbrown

Enables hashbrown of bdk_core

rusqlite = serde, serde_json, std

Enables rusqlite ^0.31.0

Feature dependencies

Affects bdk_chain::rusqlite_impl

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.

miniscript default

Affects indexer::keychain_txout

serde_json rusqlite?