Cargo Features

bp-core has no features set by default.

[dependencies]
bp-core = { version = "0.12.0", features = ["all", "chrono", "serde", "stl", "rand"] }
all = chrono, serde, stl
chrono all?

Enables chrono of bp-consensus

serde all?

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

stl all? = strict_types

Enables stl of bp-consensus, stl and vesper of commit_verify, armor of strict_types

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?
rand wasm32 implicit feature

Enables rand ^0.9.1

rand:

Random number generators and other randomness functionality