Cargo Features
[dependencies]
op-alloy-protocol = { version = "0.6.8", default-features = false, features = ["std", "serde", "arbitrary", "test-utils"] }
- default = serde, std
-
These default features are set whenever
op-alloy-protocol
is added without
somewhere in the dependency tree.default-features = false - std default arbitrary?
-
Enables std of op-alloy-genesis
Workspace
and std of brotli and op-alloy-consensus
brotli:
Compression
Affects
utils::compress_brotli
… - serde default
-
Enables alloy-serde, serde of op-alloy-consensus and op-alloy-genesis and serde
serde
feature - arbitrary = std
-
Enables arbitrary of alloy-consensus and alloy-eips and arbitrary
arbitrary
featureand rand of alloy-primitives
Alloy
- test-utils
-
Enables spin and tracing-subscriber
spin:
test-utils
feature