Cargo Features

bp-derive has no features set by default.

[dependencies]
bp-derive = { version = "0.11.0-beta.9", features = ["all", "serde"] }
all
serde = serde_crate

Enables serde of bp-consensus and bp-invoice

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.

serde_crate serde?

Enables serde