Cargo Features
[dependencies]
revm-bytecode = { version = "7.1.1", default-features = false, features = ["std", "hashbrown", "serde", "parse", "serde-json"] }
- default = parse, std
-
These default features are set whenever
revm-bytecodeis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables std of revm-primitives
revm
and std of bitvec and optional phf
bitvec:
Jumpmap
and std of serde_json and optional serde
serde:
Optional
- hashbrown
-
Enables hashbrown of revm-primitives
- serde serde-json?
-
Enables serde, serde of bitvec, revm-primitives, and optional phf
- parse default = paste, phf
-
Affects
opcode::parse… - serde-json = serde
-
Deprecated, please use
serdefeature instead.
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.