Cargo Features

bp-core has no features set by default.

[dependencies]
bp-core = { version = "0.11.0-beta.3", features = ["all", "chrono", "serde", "stl"] }
all = chrono, serde, stl
chrono all?

Enables chrono of bp-consensus

serde all? = serde_crate

Enables serde of bp-consensus, bp-dbc, and bp-seals

stl all? = strict_types

Enables base64 of strict_types, stl of bp-consensus and commit_verify

Affects bp-core::stl, bp-core::bc

Required by the bpcore-stl binary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

strict_types stl?
serde_crate serde?

Enables serde