Cargo Features

[dependencies]
revm-context = { version = "11.0.1", default-features = false, features = ["std", "serde", "dev", "memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3541", "optional_eip3607", "optional_eip7623", "optional_no_base_fee", "optional_priority_fee_check", "optional_fee_charge"] }
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 bitvec and revm-bytecode

bitvec:

The standard library includes the allocator.

and std of 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 and serde of bitvec, revm-bytecode, revm-context-interface, revm-database-interface, derive-where, revm-primitives, and revm-database

derive-where:

misc

dev = memory_limit, optional_balance_check, optional_block_gas_limit, optional_eip3541, optional_eip3607, optional_eip7623, optional_fee_charge, optional_no_base_fee, optional_priority_fee_check
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_eip3541 dev?

Affects cfg::CfgEnv.disable_eip3541

optional_eip3607 dev?

Affects cfg::CfgEnv.disable_eip3607

optional_eip7623 dev?

Affects cfg::CfgEnv.disable_eip7623

optional_no_base_fee dev?

Affects cfg::CfgEnv.disable_base_fee

optional_priority_fee_check dev?

Affects cfg::CfgEnv.disable_priority_fee_check

optional_fee_charge dev?

Affects cfg::CfgEnv.disable_fee_charge