Cargo Features

bp-std has no features set by default.

[dependencies]
bp-std = { version = "0.11.0-beta.5", features = ["all", "strict_encoding", "client-side-validation", "serde"] }
all = client-side-validation, serde, strict_encoding
strict_encoding all?

Enables strict_encoding of psbt

client-side-validation all? = bp-core

Enables client-side-validation of psbt

serde all? = serde_crate

Enables serde of bp-consensus, bp-derive, bp-invoice, descriptors, and psbt

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-core client-side-validation?
serde_crate serde?

Enables serde