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

concurrent-db default

Enables dashmap

Affects trevm::db

secp256k1

Enables secp256k1 of revm ^18.0.0

revm:

See comments in revm-precompile

c-kzg

Enables c-kzg of revm ^18.0.0

blst

Enables blst of revm ^18.0.0

portable

Enables portable of revm ^18.0.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 ^18.0.0

optional_balance_check dev? full_env_cfg?

Enables optional_balance_check of revm ^18.0.0

optional_beneficiary_reward dev? full_env_cfg?

Enables optional_beneficiary_reward of revm ^18.0.0

optional_block_gas_limit dev? full_env_cfg?

Enables optional_block_gas_limit of revm ^18.0.0

optional_eip3607 dev? full_env_cfg?

Enables optional_eip3607 of revm ^18.0.0

optional_gas_refund dev? full_env_cfg?

Enables optional_gas_refund of revm ^18.0.0

optional_no_base_fee dev? full_env_cfg?

Enables optional_no_base_fee of revm ^18.0.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 and test-utils of revm ^18.0.0