Cargo Features

[dependencies]
revm-bytecode = { version = "2.0.0", default-features = false, features = ["std", "hashbrown", "serde", "serde-json", "parse"] }
default = parse, std

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

std default

Enables std of revm-primitives

revm

and std of optional serde

Optional

and std of bitvec and optional phf

bitvec:

Jumpmap

hashbrown

Enables hashbrown of revm-primitives

serde serde-json?

Enables serde, serde of bitvec, revm-primitives, and optional phf

serde-json = serde
parse default = paste, phf

Affects opcode::parse

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

paste parse

Enables paste

parse opcode feature

phf parse