Cargo Features
[dependencies]
op-alloy-consensus = { version = "0.6.8", default-features = false, features = ["std", "k256", "kzg", "serde", "serde-bincode-compat", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneverop-alloy-consensus
is added without
somewhere in the dependency tree.default-features = false - std default arbitrary? kzg?
-
Enables std of alloy-consensus, alloy-eips, and derive_more
- k256
-
Enables k256 of alloy-consensus and alloy-primitives
- kzg = std
-
Enables kzg of alloy-consensus and alloy-eips
- serde
-
Enables alloy-serde and serde, serde of alloy-consensus, alloy-eips, and alloy-primitives
Affects
deposit::serde_deposit_tx_rpc
,op-alloy-consensus::serde_bincode_compat
… - serde-bincode-compat = serde_with
-
Affects
op-alloy-consensus::serde_bincode_compat
… - arbitrary = std
-
Enables arbitrary, rand of alloy-primitives, arbitrary of alloy-consensus and alloy-eips
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.
- serde_with serde-bincode-compat?
-
Enables serde_with
serde