Cargo Features

bp-wallet has no features set by default.

[dependencies]
bp-wallet = { version = "0.11.0-beta.8", features = ["all", "hot", "cli", "log", "electrum", "esplora", "mempool", "fs", "client-side-validation", "strict-encoding", "serde"] }
all = clap, cli, client-side-validation, electrum, esplora, fs, log, mempool, strict-encoding
hot = aes-gcm, bip39, rand, rpassword

Enables signers of bp-std

Affects bp-wallet::hot

Required by the bp-hot binary

cli all? = base64, clap, colored, electrum, env_logger, esplora, fs, log, mempool, serde, shellexpand

Affects hot::signer, bp-wallet::cli

Required by bp and bp-hot binaries

log all? cli? = env_logger
electrum all? cli? = bp-electrum, serde, serde_json

Affects indexers::electrum

esplora all? cli? mempool? = bp-esplora

Affects indexers::esplora

mempool all? cli? = esplora

Affects indexers::mempool

fs all? cli? = serde

Affects bp-wallet::fs

client-side-validation all?

Enables client-side-validation of bp-std and psbt

strict-encoding all?

Enables strict_encoding of bp-std and psbt

serde cli? electrum? fs? = serde_crate, serde_yaml, toml

Enables serde of bp-std, descriptors, and psbt

Affects layer2::Layer2Tx, layer2::Layer2Coin

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.

bp-esplora esplora?
bp-electrum electrum?
rand hot?
rpassword hot?
aes-gcm hot?
bip39 hot?
serde_crate serde?

Enables serde

serde_json electrum?
serde_yaml serde?
toml serde?
colored cli?
base64 cli?

Enables base64

Cli-only:

env_logger cli? log?
clap all? cli?
shellexpand cli?