Cargo Features

[dependencies]
revm-interpreter = { version = "14.0.0", default-features = false, features = ["std", "hashbrown", "serde", "asm-keccak", "portable", "parse", "optimism", "arbitrary", "optimism-default-handler", "negate-optimism-default-handler", "dev", "memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_gas_refund", "optional_no_base_fee", "optional_beneficiary_reward", "kzg-rs"] }
default = parse, std

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

std default arbitrary?

Enables std of revm-primitives and optional serde

serde:

optional

Affects eof_printer::print_eof_code

hashbrown

Enables hashbrown of revm-primitives

serde

Enables serde, serde of revm-primitives

Affects interpreter::serde

asm-keccak

Enables asm-keccak of revm-primitives

portable

Enables portable of revm-primitives

parse default

Enables paste and phf

Affects opcode::OpCodeError

optimism optimism-default-handler?

Enables optimism of revm-primitives

arbitrary = std

Enables arbitrary of revm-primitives

optimism-default-handler = optimism

Optimism default handler enabled Optimism handler register by default in EvmBuilder.

Enables optimism-default-handler of revm-primitives

negate-optimism-default-handler

Enables negate-optimism-default-handler of revm-primitives

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-primitives

optional_balance_check dev?

Enables optional_balance_check of revm-primitives

optional_block_gas_limit dev?

Enables optional_block_gas_limit of revm-primitives

optional_eip3607 dev?

Enables optional_eip3607 of revm-primitives

optional_gas_refund dev?

Enables optional_gas_refund of revm-primitives

optional_no_base_fee dev?

Enables optional_no_base_fee of revm-primitives

optional_beneficiary_reward dev?

Enables optional_beneficiary_reward of revm-primitives

kzg-rs

Enables kzg-rs of revm-primitives

revm-primitives:

kzg-rs is not audited but useful for no_std environment. use it with causing and default to c-kzg if possible!