Cargo Features

[dependencies]
alloy-rpc-types-eth = { version = "0.3.6", default-features = false, features = ["std", "serde", "jsonrpsee-types", "k256", "arbitrary"] }
default = serde, std

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

std default arbitrary?

Enables std of alloy-consensus, alloy-eips, and alloy-primitives

serde default

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

Affects account::EIP1186StorageProof, account::EIP1186AccountProofResponse, alloy-rpc-types-eth::AnyNetworkBlock, alloy-rpc-types-eth::pubsub, receipt::AnyTransactionReceipt

jsonrpsee-types

Enables jsonrpsee-types

jsonrpsee

k256

Enables k256 of alloy-consensus and alloy-eips

arbitrary = std

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

alloy-serde:

serde