Cargo Features

bitcoin_onchain has no features set by default.

[dependencies]
bitcoin_onchain = { version = "0.10.2", features = ["all", "miniscript", "miniscript_descriptors", "electrum", "serde"] }
all = electrum, miniscript_descriptors, serde
miniscript miniscript_descriptors? = miniscript_crate
miniscript_descriptors all? = descriptors, miniscript

Enables miniscript of bitcoin_hd and descriptors

electrum all? = electrum-client
serde all? = serde_crate

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.

descriptors miniscript_descriptors?
miniscript_crate miniscript?

Enables miniscript ^9.0.1

electrum-client electrum?

Enables electrum-client ^0.14.0

serde_crate serde?

Enables serde