[build-dependencies.hex]
default-features = false
version = "0.4"
[dependencies.alloy-eip2930]
default-features = false
version = "0.1"
[dependencies.alloy-eip7702]
default-features = false
features = ["k256"]
version = "0.4"
[dependencies.alloy-primitives]
default-features = false
features = ["rlp", "map"]
version = "0.8.8"
[dependencies.auto_impl]
version = "1.2"
[dependencies.bitflags]
default-features = false
version = "2.6.0"
[dependencies.bitvec]
default-features = false
features = ["alloc"]
version = "1"
[dependencies.c-kzg]
default-features = false
features = ["ethereum_kzg_settings"]
optional = true
version = "1.0.3"
[dependencies.cfg-if]
version = "1"
[dependencies.dyn-clone]
version = "1.0"
[dependencies.enumn]
version = "0.1"
[dependencies.kzg-rs]
default-features = false
optional = true
version = "0.2.3"
[dependencies.serde]
default-features = false
features = ["derive", "rc"]
optional = true
version = "1.0"
[features]
arbitrary = ["std", "alloy-primitives/arbitrary", "bitflags/arbitrary", "alloy-eip7702/arbitrary", "alloy-eip2930/arbitrary"]
asm-keccak = ["alloy-primitives/asm-keccak"]
c-kzg = ["dep:c-kzg"]
default = ["std", "c-kzg", "portable"]
dev = ["memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_gas_refund", "optional_no_base_fee", "optional_beneficiary_reward"]
hashbrown = ["alloy-primitives/map-hashbrown"]
kzg-rs = ["dep:kzg-rs"]
memory_limit = []
negate-optimism-default-handler = []
optimism = []
optimism-default-handler = ["optimism"]
optional_balance_check = []
optional_beneficiary_reward = []
optional_block_gas_limit = []
optional_eip3607 = []
optional_gas_refund = []
optional_no_base_fee = []
portable = ["c-kzg?/portable"]
rand = ["alloy-primitives/rand"]
serde = ["dep:serde", "alloy-primitives/serde", "hex/serde", "bitvec/serde", "bitflags/serde", "c-kzg?/serde", "alloy-eip7702/serde", "alloy-eip2930/serde"]
std = ["serde?/std", "alloy-primitives/std", "hex/std", "bitvec/std", "bitflags/std", "alloy-eip7702/std", "alloy-eip2930/std"]
[lib]
name = "revm_primitives"
path = "src/lib.rs"
[lints.rust]
rust_2018_idioms = "deny"
unreachable_pub = "warn"
unused_must_use = "deny"
[lints.rustdoc]
all = "warn"
[package]
authors = ["Dragan Rakita <dragan0rakita@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "revm primitives"
edition = "2021"
keywords = ["no_std", "ethereum", "evm", "revm", "types"]
license = "MIT"
name = "revm-primitives"
readme = "README.md"
repository = "https://github.com/bluealloy/revm"
version = "14.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]