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-22 09:25:22 +00:00
|
|
|
ethers-contract = { version = "0.2", path = "../ethers-contract", default-features = false, features = ["abigen"] }
|
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-26 15:41:58 +00:00
|
|
|
serde = { version = "1.0.123", default-features = false, features = ["derive"] }
|
2020-12-25 00:17:21 +00:00
|
|
|
thiserror = { version = "1.0.22", default-features = false }
|
2021-01-18 05:38:07 +00:00
|
|
|
futures-util = { version = "0.3.12", default-features = false }
|
2021-02-06 03:43:54 +00:00
|
|
|
tracing = { version = "0.1.23", default-features = false }
|
2021-02-17 09:49:54 +00:00
|
|
|
tracing-futures = { version = "0.2.5", 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-02-19 06:36:39 +00:00
|
|
|
reqwest = { version = "0.11.1", 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
|
|
|
|
2021-02-10 09:55:48 +00:00
|
|
|
serde_json = { version = "1.0.62", default-features = false }
|
2021-02-08 09:56:27 +00:00
|
|
|
tokio = { version = "1.2" }
|
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" }
|
2021-01-19 17:09:26 +00:00
|
|
|
futures-executor = { version = "0.3.12", features = ["thread-pool"] }
|
2020-12-31 17:19:14 +00:00
|
|
|
hex = { version = "0.4.2", default-features = false, features = ["std"] }
|
2021-01-22 09:25:22 +00:00
|
|
|
rand = { version = "0.7.3", default-features = false }
|
2021-02-08 09:56:27 +00:00
|
|
|
tokio = { version = "1.2", 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"]
|