Cargo Features
[dependencies]
maili-consensus = { version = "0.1.7", default-features = false, features = ["std", "serde", "serde-bincode-compat", "arbitrary"] }
- default = serde, std
-
These default features are set whenever
maili-consensus
is added without
somewhere in the dependency tree.default-features = false - std default arbitrary?
-
Enables std of alloy-consensus, alloy-eips, alloy-primitives, alloy-rlp, and alloy-serde
alloy-primitives:
Alloy
- serde default serde-bincode-compat? = alloy-serde
-
Enables serde of alloy-primitives and serde
serde
featureAffects
deposit::serde_deposit_tx_rpc
… - serde-bincode-compat = arbitrary, serde
-
Enables serde_with
Affects
deposit::serde_bincode_compat
… - arbitrary serde-bincode-compat? = std
-
Enables arbitrary of alloy-consensus, alloy-eips, and alloy-primitives and arbitrary
arbitrary
feature
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.