2020-09-24 21:33:09 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-middleware"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2021-01-13 18:10:50 +00:00
|
|
|
version = "0.2.0"
|
2020-09-24 21:33:09 +00:00
|
|
|
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 }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2020-12-25 00:17:21 +00:00
|
|
|
async-trait = { version = "0.1.42", default-features = false }
|
2021-01-12 08:02:30 +00:00
|
|
|
serde = { version = "1.0.119", default-features = false, features = ["derive"] }
|
2020-12-25 00:17:21 +00:00
|
|
|
thiserror = { version = "1.0.22", default-features = false }
|
2021-01-16 08:59:59 +00:00
|
|
|
futures-util = { version = "0.3.11", default-features = false }
|
2020-12-25 00:17:21 +00:00
|
|
|
tracing = { version = "0.1.22", default-features = false }
|
|
|
|
tracing-futures = { version = "0.2.4", default-features = false }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
# for gas oracles
|
2020-12-25 00:17:21 +00:00
|
|
|
serde-aux = { version = "2.1.0", default-features = false }
|
2021-01-07 13:24:07 +00:00
|
|
|
reqwest = { version = "0.11.0", default-features = false, features = ["json", "rustls-tls"] }
|
2020-12-25 00:17:21 +00:00
|
|
|
url = { version = "2.2.0", default-features = false }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2020-12-31 17:19:14 +00:00
|
|
|
tokio = { version = "1.0" }
|
2020-10-08 15:56:36 +00:00
|
|
|
|
2020-09-24 21:33:09 +00:00
|
|
|
[dev-dependencies]
|
2021-01-13 18:10:50 +00:00
|
|
|
ethers = { version = "0.2", path = "../ethers" }
|
2020-10-08 15:56:36 +00:00
|
|
|
futures-executor = { version = "0.3.5", features = ["thread-pool"] }
|
2020-12-31 17:19:14 +00:00
|
|
|
hex = { version = "0.4.2", default-features = false, features = ["std"] }
|
|
|
|
tokio = { version = "1.0", default-features = false, features = ["rt", "macros", "time"] }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
celo = ["ethers-core/celo", "ethers-providers/celo", "ethers-signers/celo"]
|