# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "revm" version = "18.0.0" authors = ["Dragan Rakita "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "revm - Rust Ethereum Virtual Machine" readme = "README.md" keywords = [ "no_std", "ethereum", "evm", "revm", ] license = "MIT" repository = "https://github.com/bluealloy/revm" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "revm" path = "src/lib.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.alloy-eips] version = "0.5.4" optional = true default-features = false [dependencies.alloy-provider] version = "0.5.4" optional = true default-features = false [dependencies.alloy-transport] version = "0.5.4" optional = true default-features = false [dependencies.auto_impl] version = "1.2" default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.dyn-clone] version = "1.0" [dependencies.ethers-core] version = "2.0" optional = true [dependencies.ethers-providers] version = "2.0" optional = true [dependencies.revm-interpreter] version = "14.0.0" default-features = false [dependencies.revm-precompile] version = "15.0.0" default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] optional = true default-features = false [dependencies.tokio] version = "1.40" features = [ "rt-multi-thread", "macros", ] optional = true [dev-dependencies.alloy-provider] version = "0.5.3" [dev-dependencies.alloy-sol-types] version = "0.8.2" features = ["std"] default-features = false [dev-dependencies.anyhow] version = "1.0.87" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.ethers-contract] version = "2.0.14" default-features = false [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 = [] [lints.rust] rust_2018_idioms = "deny" unreachable_pub = "warn" unused_must_use = "deny" [lints.rustdoc] all = "warn"