Cargo Features

bp-wallet has no features set by default.

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

Enables signers of bp-std

Affects bp-wallet::hot

hot all? = cli, rpassword, signers

Required by the bp-hot binary

cli all? hot? = 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 signers?
rpassword hot?
aes-gcm signers?
bip39 signers?
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?