ethers-rs/ethers-middleware/Cargo.toml

59 lines
2.4 KiB
TOML
Raw Permalink Normal View History

[package]
name = "ethers-middleware"
2022-11-27 20:27:58 +00:00
version = "1.0.2"
edition = "2018"
2022-09-18 15:45:45 +00:00
rust-version = "1.62"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
license = "MIT OR Apache-2.0"
description = "Middleware implementations for the ethers-rs crate"
homepage = "https://docs.rs/ethers"
repository = "https://github.com/gakonst/ethers-rs"
keywords = ["ethereum", "web3", "celo", "ethers"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
2022-10-25 18:03:00 +00:00
ethers-contract = { version = "^1.0.0", path = "../ethers-contract", default-features = false }
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:01 +00:00
ethers-etherscan = { version = "^1.0.0", path = "../ethers-etherscan", default-features = false }
2022-10-25 18:03:00 +00:00
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false }
2022-10-25 18:03:00 +00:00
ethers-signers = { version = "^1.0.0", path = "../ethers-signers", default-features = false }
async-trait = { version = "0.1.50", default-features = false }
auto_impl = { version = "0.5.0", default-features = false }
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
thiserror = { version = "1.0", default-features = false }
futures-util = { version = "^0.3" }
futures-locks = { version = "0.7", default-features = false }
tracing = { version = "0.1.37", default-features = false }
tracing-futures = { version = "0.2.5", default-features = false }
# for gas oracles
reqwest = { version = "0.11.13", default-features = false, features = ["json", "rustls-tls"] }
url = { version = "2.3.1", default-features = false }
serde_json = { version = "1.0.64", default-features = false }
2022-09-18 15:45:45 +00:00
instant = { version = "0.1.12", features = ["now"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.18" }
[dev-dependencies]
hex = { version = "0.4.3", default-features = false, features = ["std"] }
rand = { version = "0.8.5", default-features = false }
ethers-providers = { version = "^1.0.0", path = "../ethers-providers", default-features = false, features = [
"ws",
"rustls",
] }
once_cell = "1.16.0"
ethers-solc = { version = "^1.0.0", path = "../ethers-solc" }
serial_test = "0.9.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.18", default-features = false, features = ["rt", "macros", "time"] }
[features]
celo = ["ethers-core/celo", "ethers-providers/celo", "ethers-signers/celo", "ethers-contract/celo"]