op-alloy is to add the op-alloy crate
with the full feature flag from the command-line using Cargo.
Cargo.toml file.
Cargo.toml file, or use the op-alloy crate with the features you need.
After op-alloy is added as a dependency, crates re-exported by op-alloy are now available.
Features
Theop-alloy defines many feature flags including the following.
Default
stdk256serde
full
k256 feature flag enables the k256 feature on the op-alloy-consensus crate.
k256
Arbitrary trait on types.
arbitrary
serde
consensus feature flag provides the op-alloy-consensus re-export
so op-alloy-consensus types can be used from op-alloy through op_alloy::consensus::InsertTypeHere.
Crates
op-alloy-networkop-alloy-providerop-alloy-consensus(supportsno_std)op-alloy-rpc-jsonrpseeop-alloy-rpc-types(supportsno_std)op-alloy-rpc-types-engine(supportsno_std)
no_std
As noted above, the following crates are no_std compatible.
To add no_std support to a crate, ensure the check_no_std
script is updated to include this crate once no_std compatible.