Cargo Features

[dependencies]
revm-context = { version = "2.0.0", default-features = false, features = ["std", "serde", "dev", "memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
default = std

The std feature is set by default whenever revm-context is added without default-features = false somewhere in the dependency tree.

std default

Enables std of revm-bytecode, revm-context-interface, revm-database-interface, revm-primitives, and revm-database

revm-context-interface:

revm

and std of revm-state and optional serde

serde:

Optional

serde

Enables serde, serde of revm-state, serde of revm-bytecode, revm-context-interface, revm-database-interface, revm-primitives, and revm-database

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

Affects cfg::CfgEnv.memory_limit

optional_balance_check dev?

Affects cfg::CfgEnv.disable_balance_check

optional_block_gas_limit dev?

Affects cfg::CfgEnv.disable_block_gas_limit

optional_eip3607 dev?

Affects cfg::CfgEnv.disable_eip3607

optional_no_base_fee dev?

Affects cfg::CfgEnv.disable_base_fee