Cargo Features

[dependencies]
rtvm-primitives = { version = "3.1.1", default-features = false, features = ["std", "hashbrown", "serde", "asm-keccak", "portable", "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", "rand", "c-kzg"] }
default = c-kzg, portable, std

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

std default arbitrary?

Enables std of alloy-primitives ^0.7, bitflags, bitvec, and hex

bitvec:

The standard library includes the allocator.

and std of optional serde

optional

hashbrown serde?
serde

Enables serde and serde of alloy-primitives ^0.7, bitflags, bitvec, hashbrown ^0.14, hex, and optional c-kzg ^1.0.0

c-kzg:

For setting the CfgEnv KZGSettings. Enabled by c-kzg flag.

asm-keccak

Enables asm-keccak of alloy-primitives ^0.7

portable default

Enables portable of optional c-kzg ^1.0.0

optimism optimism-default-handler?

Affects handler_cfg::HandlerCfg.is_optimism, env::TxEnv.optimism, env::OptimismFields, specification::SpecId

arbitrary = std

Enables arbitrary of alloy-primitives ^0.7 and bitflags

optimism-default-handler = optimism

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

negate-optimism-default-handler
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?

Affects env::CfgEnv.memory_limit

optional_balance_check dev?

Affects env::CfgEnv.disable_balance_check

optional_block_gas_limit dev?

Affects env::CfgEnv.disable_block_gas_limit

optional_eip3607 dev?

Affects env::CfgEnv.disable_eip3607

optional_gas_refund dev?

Affects env::CfgEnv.disable_gas_refund

optional_no_base_fee dev?

Affects env::CfgEnv.disable_base_fee

optional_beneficiary_reward dev?

Affects env::CfgEnv.disable_beneficiary_reward

rand

Enables rand of alloy-primitives ^0.7

c-kzg default

See comments in rtvm-precompile

Enables c-kzg ^1.0.0, derive_more ^0.99, and once_cell

Affects env::CfgEnv.kzg_settings, rtvm-primitives::kzg