Cargo Features

[dependencies]
bp-consensus = { version = "0.12.0-rc.2", default-features = false, features = ["all", "stl", "chrono", "strict_types", "serde", "rand"] }
default = chrono

The chrono feature is set by default whenever bp-consensus is added without default-features = false somewhere in the dependency tree.

all = chrono, serde, stl
stl all? = strict_types

Affects bp-consensus::stl

chrono default all?

Enables chrono

strict_types stl?

Enables strict_types

serde all?

Enables serde, serde of amplify and secp256k1 ^0.30.0

Features from optional dependencies

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality