Cargo Features

[dependencies]
trevm = { version = "0.17.0", default-features = false, features = ["concurrent-db", "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 = concurrent-db

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

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

concurrent-db default

Enables dashmap

Affects trevm::db

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 and test-utils of revm