Cargo Features

bp-primitives has no features set by default.

[dependencies]
bp-primitives = { version = "0.10.9", features = ["all", "stl", "serde"] }
all = serde, stl
stl all? = strict_types

Affects bp-primitives::stl

serde all? = serde_crate

Enables serde of amplify and secp256k1 ^0.27.0

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.

strict_types stl?

Enables strict_types ^1.6.2

serde_crate serde?

Enables serde