2020-09-24 21:33:09 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-middleware"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2021-11-23 19:23:12 +00:00
|
|
|
version = "0.6.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-11-23 19:23:12 +00:00
|
|
|
ethers-contract = { version = "^0.6.0", path = "../ethers-contract", default-features = false, features = ["abigen"] }
|
|
|
|
ethers-core = { version = "^0.6.0", path = "../ethers-core", default-features = false }
|
2021-11-25 05:38:28 +00:00
|
|
|
ethers-etherscan = { version = "^0.2.0", path = "../ethers-etherscan", default-features = false }
|
2021-11-23 19:23:12 +00:00
|
|
|
ethers-providers = { version = "^0.6.0", path = "../ethers-providers", default-features = false }
|
|
|
|
ethers-signers = { version = "^0.6.0", path = "../ethers-signers", default-features = false }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2021-04-27 20:18:06 +00:00
|
|
|
async-trait = { version = "0.1.50", default-features = false }
|
2021-03-08 07:48:24 +00:00
|
|
|
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
|
2021-10-11 12:42:55 +00:00
|
|
|
thiserror = { version = "1.0.30", default-features = false }
|
2021-11-23 11:23:53 +00:00
|
|
|
futures-util = { version = "0.3.18" }
|
2021-10-06 15:58:23 +00:00
|
|
|
tracing = { version = "0.1.29", 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
|
2021-10-19 05:23:48 +00:00
|
|
|
reqwest = { version = "0.11.6", default-features = false, features = ["json", "rustls-tls"] }
|
2021-07-05 11:20:51 +00:00
|
|
|
url = { version = "2.2.2", default-features = false }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2021-03-02 12:53:33 +00:00
|
|
|
serde_json = { version = "1.0.64", default-features = false }
|
2021-10-19 05:23:36 +00:00
|
|
|
instant = {version = "0.1.12", features = ["now"] }
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-04-16 07:09:43 +00:00
|
|
|
tokio = { version = "1.5" }
|
2020-10-08 15:56:36 +00:00
|
|
|
|
2020-09-24 21:33:09 +00:00
|
|
|
[dev-dependencies]
|
2021-03-04 07:30:36 +00:00
|
|
|
hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
2021-07-07 17:18:14 +00:00
|
|
|
rand = { version = "0.8.4", default-features = false }
|
2021-11-23 19:23:12 +00:00
|
|
|
ethers-providers = { version = "^0.6.0", path = "../ethers-providers", default-features = false, features = ["ws", "rustls"] }
|
2021-09-14 13:40:15 +00:00
|
|
|
once_cell = "1.8.0"
|
2021-10-31 11:34:51 +00:00
|
|
|
ethers-solc = { version = "^0.1.0", path = "../ethers-solc", default-features = false }
|
2021-11-25 06:57:22 +00:00
|
|
|
serial_test = "0.5.1"
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2021-04-16 07:09:43 +00:00
|
|
|
tokio = { version = "1.5", default-features = false, features = ["rt", "macros", "time"] }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
[features]
|
2021-08-28 21:06:29 +00:00
|
|
|
celo = ["ethers-core/celo", "ethers-providers/celo", "ethers-signers/celo", "ethers-contract/celo"]
|