trevm 0.34.0

A typestate API wrapper for the revm EVM implementation
Documentation
# 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"
rust-version = "1.83.0"
name = "trevm"
version = "0.34.0"
authors = ["init4"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typestate API wrapper for the revm EVM implementation"
homepage = "https://github.com/init4tech/trevm"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/init4tech/trevm"

[features]
alloy-db = [
    "dep:tokio",
    "alloy/providers",
]
blst = ["revm/blst"]
c-kzg = ["revm/c-kzg"]
call = [
    "optional_eip3607",
    "optional_no_base_fee",
]
concurrent-db = ["dep:dashmap"]
default = [
    "call",
    "concurrent-db",
    "estimate_gas",
    "tracing-inspectors",
    "revm/std",
    "revm/c-kzg",
    "revm/blst",
    "revm/portable",
    "revm/secp256k1",
]
dev = [
    "memory_limit",
    "optional_balance_check",
    "optional_block_gas_limit",
    "optional_eip3607",
    "optional_no_base_fee",
]
estimate_gas = [
    "optional_eip3607",
    "optional_no_base_fee",
    "dep:tracing",
]
full_env_cfg = [
    "optional_balance_check",
    "optional_block_gas_limit",
    "optional_eip3607",
    "optional_no_base_fee",
]
memory_limit = ["revm/memory_limit"]
optional_balance_check = ["revm/optional_balance_check"]
optional_block_gas_limit = ["revm/optional_block_gas_limit"]
optional_eip3607 = ["revm/optional_eip3607"]
optional_no_base_fee = ["revm/optional_no_base_fee"]
portable = ["revm/portable"]
secp256k1 = ["revm/secp256k1"]
test-utils = [
    "revm/std",
    "revm/serde-json",
    "revm/alloydb",
    "alloy/signers",
    "alloy/signer-local",
]
tracing-inspectors = [
    "dep:revm-inspectors",
    "alloy/rpc-types-trace",
]

[lib]
name = "trevm"
path = "src/lib.rs"

[[example]]
name = "basic_transact"
path = "examples/basic_transact.rs"

[[example]]
name = "fork_ref_transact"
path = "examples/fork_ref_transact.rs"
required-features = ["alloy-db"]

[dependencies.alloy]
version = "1.4.0"
features = [
    "consensus",
    "rpc-types-mev",
    "eips",
    "k256",
    "std",
    "rlp",
    "sol-types",
]
default-features = false

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.revm]
version = "34"
default-features = false

[dependencies.revm-inspectors]
version = "0.34"
optional = true

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.44"
optional = true

[dependencies.tracing]
version = "0.1.41"
optional = true

[dev-dependencies.alloy]
version = "1.4.0"
features = [
    "providers",
    "transports",
]

[dev-dependencies.eyre]
version = "0.6"

[dev-dependencies.revm]
version = "34"
features = [
    "serde-json",
    "std",
    "alloydb",
]

[dev-dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false

[dev-dependencies.tokio]
version = "1.39"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
use-self = "warn"

[lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "deny"

[lints.rustdoc]
all = "warn"