Cargo Features
[dependencies]
op-alloy = { version = "0.6.6", default-features = false, features = ["std", "full", "k256", "serde", "arbitrary", "consensus", "genesis", "protocol", "rpc-types", "rpc-types-engine", "provider", "network", "rpc-jsonrpsee"] }
- 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-genesis, optional op-alloy-protocol, optional op-alloy-rpc-types, and optional op-alloy-rpc-types-engine
op-alloy-consensus:
Workspace
- full = consensus, genesis, network, protocol, provider, rpc-jsonrpsee, rpc-types, rpc-types-engine
- k256 default
-
Enables k256 of optional op-alloy-consensus
- serde default
-
Enables serde of optional op-alloy-consensus, optional op-alloy-genesis, optional op-alloy-protocol, and optional op-alloy-rpc-types-engine
- arbitrary
-
Enables arbitrary of optional op-alloy-consensus, optional op-alloy-genesis, optional op-alloy-protocol, optional op-alloy-rpc-types, and optional op-alloy-rpc-types-engine
- consensus full?
-
no_std
supportEnables op-alloy-consensus
- genesis full?
-
Enables op-alloy-genesis
- protocol full?
-
Enables op-alloy-protocol
- rpc-types full?
-
Enables op-alloy-rpc-types
- rpc-types-engine full?
-
Enables op-alloy-rpc-types-engine
- provider full?
-
std features
Enables op-alloy-provider
- network full?
-
Enables op-alloy-network
- rpc-jsonrpsee full?
-
Enables op-alloy-rpc-jsonrpsee