Cargo Features

[dependencies]
trevm = { version = "0.14.2", default-features = false, features = ["std", "secp256k1", "c-kzg", "blst", "portable", "dev", "memory_limit", "optional_balance_check", "optional_beneficiary_reward", "optional_block_gas_limit", "optional_eip3607", "optional_gas_refund", "optional_no_base_fee", "full_env_cfg", "test-utils"] }
default = std

These default features are set whenever trevm is added without default-features = false somewhere in the dependency tree.

Enables blst, c-kzg, portable, secp256k1 and std of revm

std default

Enables zenith-types, std of alloy, alloy-primitives, alloy-rlp, alloy-sol-types, and revm

Affects trevm::journal, test_utils::test_trevm_tracing

secp256k1

Enables secp256k1 of revm

revm:

See comments in revm-precompile

c-kzg

Enables c-kzg of revm

blst

Enables blst of revm

portable

Enables portable of revm

dev = memory_limit, optional_balance_check, optional_beneficiary_reward, optional_block_gas_limit, optional_eip3607, optional_gas_refund, optional_no_base_fee
memory_limit dev?

Enables memory_limit of revm

optional_balance_check dev? full_env_cfg?

Enables optional_balance_check of revm

optional_beneficiary_reward dev? full_env_cfg?

Enables optional_beneficiary_reward of revm

optional_block_gas_limit dev? full_env_cfg?

Enables optional_block_gas_limit of revm

optional_eip3607 dev? full_env_cfg?

Enables optional_eip3607 of revm

optional_gas_refund dev? full_env_cfg?

Enables optional_gas_refund of revm

optional_no_base_fee dev? full_env_cfg?

Enables optional_no_base_fee of revm

full_env_cfg = optional_balance_check, optional_beneficiary_reward, optional_block_gas_limit, optional_eip3607, optional_gas_refund, optional_no_base_fee
test-utils

Enables alloydb, serde-json, std and test-utils of revm