Cargo Features

bp-std has no features set by default.

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

Enables all of psbt

signers all?

Enables global-context and rand of secp256k1

Affects bp-std::signers

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 ^0.11.0-beta.9, 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?

Enables bp-core ^0.11.0-beta.9

serde_crate serde?

Enables serde

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality