ethers-rs/ethers-middleware/Cargo.toml

43 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "ethers-middleware"
license = "MIT OR Apache-2.0"
2021-01-13 18:10:50 +00:00
version = "0.2.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
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]
2021-01-13 18:10:50 +00:00
ethers-core = { version = "0.2", path = "../ethers-core", default-features = false }
ethers-providers = { version = "0.2", path = "../ethers-providers", default-features = false }
ethers-signers = { version = "0.2", path = "../ethers-signers", default-features = false }
async-trait = { version = "0.1.42", default-features = false }
serde = { version = "1.0.119", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.22", default-features = false }
futures-util = { version = "0.3.11", default-features = false }
tracing = { version = "0.1.22", default-features = false }
tracing-futures = { version = "0.2.4", default-features = false }
# for gas oracles
serde-aux = { version = "2.1.0", default-features = false }
reqwest = { version = "0.11.0", default-features = false, features = ["json", "rustls-tls"] }
url = { version = "2.2.0", default-features = false }
tokio = { version = "1.0" }
[dev-dependencies]
2021-01-13 18:10:50 +00:00
ethers = { version = "0.2", path = "../ethers" }
futures-executor = { version = "0.3.5", features = ["thread-pool"] }
hex = { version = "0.4.2", default-features = false, features = ["std"] }
tokio = { version = "1.0", default-features = false, features = ["rt", "macros", "time"] }
[features]
celo = ["ethers-core/celo", "ethers-providers/celo", "ethers-signers/celo"]