Cargo Features
[dependencies]
trevm = { version = "0.34.2", default-features = false, features = ["alloy-db", "asyncdb", "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", "tracing-inspectors", "test-utils"] }
- default = call, concurrent-db, estimate_gas, tracing-inspectors
-
These default features are set whenever
trevmis added withoutsomewhere in the dependency tree.default-features = false Enables blst, c-kzg, portable, secp256k1 and std of revm ^34
- alloy-db
-
Enables tokio and providers of alloy ^1.4.0
alloy:
providers
Affects
db::alloy… - asyncdb
- 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
-
revm:
Precompiles features: Please look at the comments in
precompilecrate for more information. See comments inprecompileuse it with caution - c-kzg
- blst
-
revm:
blst will be enabled both for bls precompiles and for kzg precompile.
- portable
-
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 ^34
- optional_balance_check dev? full_env_cfg?
-
Enables optional_balance_check of revm ^34
- optional_block_gas_limit dev? full_env_cfg?
-
Enables optional_block_gas_limit of revm ^34
- optional_eip3607 call dev? estimate_gas full_env_cfg?
-
Enables optional_eip3607 of revm ^34
- optional_no_base_fee call dev? estimate_gas full_env_cfg?
-
Enables optional_no_base_fee of revm ^34
- full_env_cfg = optional_balance_check, optional_block_gas_limit, optional_eip3607, optional_no_base_fee
- tracing-inspectors default
-
Enables revm-inspectors ^0.34, rpc-types-trace of alloy ^1.4.0
- test-utils
-
Enables signer-local and signers of alloy ^1.4.0, alloydb, serde-json and std of revm ^34