[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"
[dependencies.alloy-eips]
default-features = false
optional = true
version = "0.5.4"
[dependencies.alloy-provider]
default-features = false
optional = true
version = "0.5.4"
[dependencies.alloy-transport]
default-features = false
optional = true
version = "0.5.4"
[dependencies.auto_impl]
default-features = false
version = "1.2"
[dependencies.cfg-if]
version = "1.0"
[dependencies.dyn-clone]
version = "1.0"
[dependencies.ethers-core]
optional = true
version = "2.0"
[dependencies.ethers-providers]
optional = true
version = "2.0"
[dependencies.revm-interpreter]
default-features = false
version = "14.0.0"
[dependencies.revm-precompile]
default-features = false
version = "15.0.0"
[dependencies.serde]
default-features = false
features = ["derive", "rc"]
optional = true
version = "1.0"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
optional = true
version = "1.0"
[dependencies.tokio]
features = ["rt-multi-thread", "macros"]
optional = true
version = "1.40"
[dev-dependencies.alloy-provider]
version = "0.5.3"
[dev-dependencies.alloy-sol-types]
default-features = false
features = ["std"]
version = "0.8.2"
[dev-dependencies.anyhow]
version = "1.0.87"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.ethers-contract]
default-features = false
version = "2.0.14"
[dev-dependencies.indicatif]
version = "0.17"
[dev-dependencies.reqwest]
version = "0.12"
[dev-dependencies.rstest]
version = "0.22.0"
[features]
alloydb = ["std", "dep:tokio", "dep:alloy-provider", "dep:alloy-eips", "dep:alloy-transport"]
arbitrary = ["revm-interpreter/arbitrary"]
asm-keccak = ["revm-interpreter/asm-keccak", "revm-precompile/asm-keccak"]
blst = ["revm-precompile/blst"]
c-kzg = ["revm-precompile/c-kzg"]
default = ["std", "c-kzg", "secp256k1", "portable", "blst"]
dev = ["memory_limit", "optional_balance_check", "optional_block_gas_limit", "optional_eip3607", "optional_gas_refund", "optional_no_base_fee", "optional_beneficiary_reward"]
ethersdb = ["std", "dep:tokio", "dep:ethers-providers", "dep:ethers-core"]
hashbrown = ["revm-interpreter/hashbrown", "revm-precompile/hashbrown"]
kzg-rs = ["revm-precompile/kzg-rs"]
memory_limit = ["revm-interpreter/memory_limit"]
negate-optimism-default-handler = ["revm-precompile/negate-optimism-default-handler", "revm-interpreter/negate-optimism-default-handler"]
optimism = ["revm-interpreter/optimism", "revm-precompile/optimism"]
optimism-default-handler = ["optimism", "revm-precompile/optimism-default-handler", "revm-interpreter/optimism-default-handler"]
optional_balance_check = ["revm-interpreter/optional_balance_check"]
optional_beneficiary_reward = ["revm-interpreter/optional_beneficiary_reward"]
optional_block_gas_limit = ["revm-interpreter/optional_block_gas_limit"]
optional_eip3607 = ["revm-interpreter/optional_eip3607"]
optional_gas_refund = ["revm-interpreter/optional_gas_refund"]
optional_no_base_fee = ["revm-interpreter/optional_no_base_fee"]
portable = ["revm-precompile/portable", "revm-interpreter/portable"]
secp256k1 = ["revm-precompile/secp256k1"]
serde = ["dep:serde", "revm-interpreter/serde"]
serde-json = ["serde", "dep:serde_json"]
std = ["serde?/std", "serde_json?/std", "serde_json?/preserve_order", "revm-interpreter/std", "revm-precompile/std"]
test-utils = []
[lib]
name = "revm"
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 - Rust Ethereum Virtual Machine"
edition = "2021"
keywords = ["no_std", "ethereum", "evm", "revm"]
license = "MIT"
name = "revm"
readme = "README.md"
repository = "https://github.com/bluealloy/revm"
version = "18.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]