Cargo Features

[dependencies]
alloy-eips = { version = "0.8.3", 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-primitives, alloy-rlp, optional c-kzg ^1.0, optional once_cell, and optional serde

c-kzg:

kzg

serde

Enables alloy-serde, serde, serde of optional c-kzg ^1.0 and serde of alloy-eip2930, alloy-eip7702 ^0.4.1, and alloy-primitives

alloy-eip2930:

eips

Affects eip4844::deserialize_blob

serde-bincode-compat

Enables serde-bincode-compat of alloy-eip7702 ^0.4.1

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 ^0.4.1

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 of alloy-eip2930, arbitrary and k256 of alloy-eip7702 ^0.4.1 and arbitrary of alloy-primitives and optional alloy-serde

alloy-serde:

serde