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 default-features = false somewhere in the dependency tree.

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 feature

and rand of alloy-primitives

Alloy

test-utils

Enables spin and tracing-subscriber

spin:

test-utils feature