Cargo Features
[dependencies]
bp-consensus = { version = "0.12.0-beta.1", default-features = false, features = ["all", "stl", "serde"] }
- default = chrono
-
The
chrono
feature is set by default wheneverbp-consensus
is added without
somewhere in the dependency tree.default-features = false - all = chrono, serde, stl
- stl all? = strict_types
-
Affects
bp-consensus::stl
… - serde all? = serde_crate
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
- chrono default all?