Cargo Features

[dependencies]
revm-primitives = { version = "21.0.2", default-features = false, features = ["std", "serde", "map-foldhash", "hashbrown", "asm-keccak", "sha3-keccak", "rand", "arbitrary"] }
default = std

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

std default arbitrary?

Enables std of alloy-primitives

alloy

and std of num_enum and once_cell

num_enum:

mics

and std of optional serde

Optional

serde

Enables serde, serde of alloy-primitives

map-foldhash

Enables map-foldhash of alloy-primitives

hashbrown

Enables map-hashbrown of alloy-primitives

asm-keccak

Enables asm-keccak of alloy-primitives

sha3-keccak

Enables sha3-keccak of alloy-primitives

rand

Enables rand of alloy-primitives

arbitrary = std

Enables arbitrary of alloy-primitives