Cargo Features
[dependencies]
op-revm = { version = "1.0.0-alpha.4", default-features = false, features = ["std", "hashbrown", "serde", "portable", "dev", "memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee", "secp256k1", "c-kzg", "kzg-rs", "blst"] }
- default = blst, c-kzg, portable, secp256k1, std
-
These default features are set whenever
op-revm
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of once_cell, revm, and alloy-sol-types
once_cell:
static precompile sets.
Optional
- hashbrown
- serde
- portable default
-
revm:
Compile in portable mode, without ISA extensions.
Binary can be executed on all systems. - dev = memory_limit, optional_balance_check, optional_block_gas_limit, optional_eip3607, optional_no_base_fee
- memory_limit dev?
-
Enables memory_limit of revm
- optional_balance_check dev?
-
Enables optional_balance_check of revm
- optional_block_gas_limit dev?
-
Enables optional_block_gas_limit of revm
- optional_eip3607 dev?
-
Enables optional_eip3607 of revm
- optional_no_base_fee dev?
-
Enables optional_no_base_fee of revm
- secp256k1 default
-
See comments in
revm-precompile
- c-kzg default
-
revm:
kzg-rs
is not audited but useful forno_std
environment, use it with causing and default toc-kzg
if possible. - kzg-rs
-
kzg-rs
is not audited but useful forno_std
environment, use it with causing and default toc-kzg
if possible. - blst default