Cargo Features

[dependencies]
alloy-eips = { version = "0.12.4", default-features = false, features = ["std", "serde", "serde-bincode-compat", "kzg", "kzg-sidecar", "k256", "sha2", "ssz", "arbitrary"] }
default = kzg-sidecar, std

These default features are set whenever alloy-eips is added without default-features = false somewhere in the dependency tree.

std default arbitrary? ssz?

Enables std of alloy-eip2124, alloy-eip2930, alloy-eip7702, alloy-primitives, and alloy-rlp

alloy-eip2124:

eips

and std of optional alloy-serde

serde

and std of derive_more, either, serde_json, optional c-kzg ^1.0, optional once_cell, optional serde, and optional sha2

c-kzg:

kzg

serde

Enables alloy-serde, serde, serde of alloy-eip2124, alloy-eip2930, alloy-eip7702, and alloy-primitives, serde of either, rand ^0.8, and optional c-kzg ^1.0

Affects eip4844::deserialize_blob

serde-bincode-compat

Enables serde-bincode-compat of alloy-eip7702

kzg = kzg-sidecar, sha2

Enables c-kzg ^1.0 and once_cell

Affects eip4844::env_settings, eip4844::trusted_setup_points, sidecar::BlobTransactionValidationError

kzg-sidecar default arbitrary? kzg? = sha2
k256

Enables k256 of alloy-eip7702

sha2 kzg? kzg-sidecar

Enables sha2

Affects eip4844::kzg_to_versioned_hash

ssz = std

Enables ethereum_ssz and ethereum_ssz_derive

arbitrary = kzg-sidecar, std

Enables arbitrary, arbitrary and k256 of alloy-eip7702, arbitrary of alloy-eip2124 and alloy-eip2930, arbitrary of alloy-primitives and optional alloy-serde