Cargo Features
[dependencies]
trevm = { version = "0.20.4", default-features = false, features = ["call", "concurrent-db", "estimate_gas", "secp256k1", "c-kzg", "blst", "portable", "dev", "memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee", "full_env_cfg", "test-utils"] }
- default = call, concurrent-db, estimate_gas
-
These default features are set whenever
trevm
is added without
somewhere in the dependency tree.default-features = false Enables blst, c-kzg, portable, secp256k1 and std of revm ^20.0.0
- call default = optional_eip3607, optional_no_base_fee
- concurrent-db default
-
Enables dashmap
Affects
db::sync
… - estimate_gas default = optional_eip3607, optional_no_base_fee
-
Enables tracing
- secp256k1
-
Enables secp256k1 of revm ^20.0.0
revm:
Precompiles features See comments in
precompile
- c-kzg
-
Enables c-kzg of revm ^20.0.0
revm:
kzg-rs
is not audited but useful forno_std
environment, use it with causing and default toc-kzg
if possible. - blst
-
Enables blst of revm ^20.0.0
- portable
-
Enables portable of revm ^20.0.0
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 ^20.0.0
- optional_balance_check dev? full_env_cfg?
-
Enables optional_balance_check of revm ^20.0.0
- optional_block_gas_limit dev? full_env_cfg?
-
Enables optional_block_gas_limit of revm ^20.0.0
- optional_eip3607 call dev? estimate_gas full_env_cfg?
-
Enables optional_eip3607 of revm ^20.0.0
- optional_no_base_fee call dev? estimate_gas full_env_cfg?
-
Enables optional_no_base_fee of revm ^20.0.0
- full_env_cfg = optional_balance_check, optional_block_gas_limit, optional_eip3607, optional_no_base_fee
- test-utils
-
Enables alloydb, serde-json and std of revm ^20.0.0