# 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.70"
name = "foundry-block-explorers"
version = "0.19.1"
authors = ["Foundry Maintainers"]
build = false
exclude = [
    ".github/",
    "scripts/",
    "test-data/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings for Etherscan.io and other block explorer APIs"
homepage = "https://github.com/foundry-rs/block-explorers"
readme = "README.md"
keywords = [
    "crypto",
    "ethers",
    "ethereum",
    "web3",
    "etherscan",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/foundry-rs/block-explorers"

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

[package.metadata.playground]
all-features = true

[features]
compilers-full = ["foundry-compilers?/full"]
default = ["rustls"]
foundry-compilers = ["dep:foundry-compilers"]
openssl = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]

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

[[test]]
name = "it"
path = "tests/it/main.rs"

[dependencies.alloy-chains]
version = "0.2"

[dependencies.alloy-json-abi]
version = "1.0"
features = [
    "std",
    "serde_json",
]
default-features = false

[dependencies.alloy-primitives]
version = "1.0"
features = [
    "std",
    "serde",
    "std",
    "serde",
]
default-features = false

[dependencies.foundry-compilers]
version = "0.17.0"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "json",
]
default-features = false

[dependencies.semver]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1.37"

[dev-dependencies.serial_test]
version = "3.0.0"

[dev-dependencies.tempfile]
version = "3.8"

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

[dev-dependencies.tracing-subscriber]
version = "0.3.17"
features = [
    "env-filter",
    "fmt",
]
