Cargo Features

[dependencies]
trevm = { version = "0.14.3", 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 ^17.1.0

std default

Enables zenith-types, std of alloy =0.5.4, alloy-primitives, alloy-rlp, alloy-sol-types, and revm ^17.1.0

Affects trevm::journal, test_utils::test_trevm_tracing

secp256k1

Enables secp256k1 of revm ^17.1.0

revm:

See comments in revm-precompile

c-kzg

Enables c-kzg of revm ^17.1.0

blst

Enables blst of revm ^17.1.0

portable

Enables portable of revm ^17.1.0

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 ^17.1.0

optional_balance_check dev? full_env_cfg?

Enables optional_balance_check of revm ^17.1.0

optional_beneficiary_reward dev? full_env_cfg?

Enables optional_beneficiary_reward of revm ^17.1.0

optional_block_gas_limit dev? full_env_cfg?

Enables optional_block_gas_limit of revm ^17.1.0

optional_eip3607 dev? full_env_cfg?

Enables optional_eip3607 of revm ^17.1.0

optional_gas_refund dev? full_env_cfg?

Enables optional_gas_refund of revm ^17.1.0

optional_no_base_fee dev? full_env_cfg?

Enables optional_no_base_fee of revm ^17.1.0

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 ^17.1.0