# 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-trace"
version = "2.0.5"
authors = ["Rollp0x <zkrollp@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for tracing EVM transactions, including call traces, asset transfers, and error analysis using REVM"
documentation = "https://docs.rs/revm-trace"
readme = "README.md"
keywords = [
    "ethereum",
    "evm",
    "simulation",
    "defi",
    "blockchain",
]
categories = [
    "cryptography::cryptocurrencies",
    "development-tools",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Rollp0x/revm-trace"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

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

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

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

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

[[test]]
name = "readme_example"
path = "tests/readme_example.rs"

[[test]]
name = "trace_tests"
path = "tests/trace_tests.rs"

[dependencies.alloy]
version = "0.5.2"
features = [
    "full",
    "dyn-abi",
    "provider-debug-api",
    "provider-trace-api",
    "provider-ws",
]
default-features = false

[dependencies.anyhow]
version = "1.0.86"

[dependencies.once_cell]
version = "1.19"

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

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.38.0"
features = [
    "sync",
    "rt-multi-thread",
]

[dev-dependencies.colored]
version = "2.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.pretty_assertions]
version = "1.0"

[dev-dependencies.prettytable-rs]
version = "0.10"

[dev-dependencies.serde_json]
version = "1.0"

[features]
default = ["alloy/default"]
rustls-tls = ["alloy/reqwest-rustls-tls"]