Cargo Features

bp-core has no features set by default.

[dependencies]
bp-core = { version = "0.11.0-beta.5", features = ["all", "chrono", "serde", "stl", "rand"] }
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 armor 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. These features may have been created by mistake, and this functionality may be removed in the future.

strict_types stl?
serde_crate serde?

Enables serde

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality