Cargo Features
[dependencies]
op-alloy = { version = "0.9.5", default-features = false, features = ["std", "full", "k256", "serde", "arbitrary", "consensus", "rpc-types", "rpc-types-engine", "network", "provider"] }
- default = k256, serde, std
-
These default features are set whenever
op-alloy
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional op-alloy-consensus, optional op-alloy-rpc-types, and optional op-alloy-rpc-types-engine
op-alloy-consensus:
Workspace
- full = consensus, network, rpc-types, rpc-types-engine
- k256 default
-
Enables k256 of optional op-alloy-consensus
- serde default
-
Enables serde of optional op-alloy-consensus and optional op-alloy-rpc-types-engine
- arbitrary
-
Enables arbitrary of optional op-alloy-consensus, optional op-alloy-rpc-types, and optional op-alloy-rpc-types-engine
- consensus full?
-
no_std
supportEnables op-alloy-consensus
- rpc-types full?
-
Enables op-alloy-rpc-types
- rpc-types-engine full?
-
Enables op-alloy-rpc-types-engine
- network full?
-
std features
Enables op-alloy-network
- provider
-
Enables op-alloy-provider