ethers-rs/ethers-etherscan/Cargo.toml

50 lines
1.7 KiB
TOML
Raw Permalink Normal View History

[package]
name = "ethers-etherscan"
2022-10-25 18:03:01 +00:00
version = "1.0.0"
2022-09-18 15:45:45 +00:00
rust-version = "1.62"
authors = [
"Matthias Seitz <matthias.seitz@outlook.de>",
2022-09-28 18:58:26 +00:00
"Georgios Konstantopoulos <me@gakonst.com>",
2022-09-18 15:45:45 +00:00
]
license = "MIT OR Apache-2.0"
edition = "2018"
readme = "../README.md"
documentation = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
homepage = "https://docs.rs/ethers"
description = """
Rust API bindings for the etherscan.io web API
"""
keywords = ["ethereum", "web3", "etherscan", "ethers"]
[dependencies]
2022-10-25 18:02:59 +00:00
ethers-core = { version = "^1.0.0", path = "../ethers-core", default-features = false }
2022-10-25 18:03:00 +00:00
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false, optional = true }
reqwest = { version = "0.11.12", default-features = false, features = ["json"] }
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.64", default-features = false }
serde-aux = { version = "4.0.0", default-features = false }
thiserror = "1.0"
tracing = "0.1.37"
semver = "1.0.14"
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly
getrandom = { version = "0.2", features = ["js"] }
[dev-dependencies]
tempfile = "3.3.0"
tokio = { version = "1.18", features = ["macros", "rt-multi-thread", "time"] }
serial_test = "0.9.0"
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
ethers-solc = { version = "^1.0.0", path = "../ethers-solc", default-features = false }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["rustls"]
openssl = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]