Cargo Features

[dependencies]
op-alloy-protocol = { version = "0.5.2", 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-consensus and op-alloy-genesis

op-alloy-genesis:

Workspace

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