Cargo Features

[dependencies]
alloy-consensus = { version = "0.1.3", default-features = false, features = ["std", "k256", "kzg", "serde", "arbitrary"] }
default = std

The std feature is set by default whenever alloy-consensus is added without default-features = false somewhere in the dependency tree.

std default arbitrary? kzg?

Enables std of alloy-eips and optional c-kzg

c-kzg:

kzg

k256

Enables k256 of alloy-eips and alloy-primitives

kzg = std

Enables c-kzg, kzg of alloy-eips

serde

Enables alloy-serde and serde, serde of alloy-eips and alloy-primitives

arbitrary = std

Enables arbitrary, proptest, and proptest-derive ^0.4, arbitrary of alloy-eips