Cargo Features
[dependencies]
alloy-rpc-types-eth = { version = "0.6.4", 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
somewhere in the dependency tree.default-features = false - 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::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 optional alloy-serde
alloy-serde:
serde