2020-09-24 21:33:09 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-middleware"
|
2022-11-27 20:27:58 +00:00
|
|
|
version = "1.0.2"
|
2022-12-30 12:48:29 +00:00
|
|
|
edition = "2021"
|
2022-12-06 06:04:48 +00:00
|
|
|
rust-version = "1.64"
|
2022-09-18 15:45:45 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2020-09-24 21:33:09 +00:00
|
|
|
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 }
|
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 }
|
2022-08-20 23:04:08 +00:00
|
|
|
auto_impl = { version = "0.5.0", default-features = false }
|
2021-03-08 07:48:24 +00:00
|
|
|
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
|
2022-05-23 18:41:30 +00:00
|
|
|
thiserror = { version = "1.0", default-features = false }
|
2021-12-15 02:32:36 +00:00
|
|
|
futures-util = { version = "^0.3" }
|
2022-11-11 22:25:01 +00:00
|
|
|
futures-locks = { version = "0.7", default-features = false }
|
2022-10-07 17:03:01 +00:00
|
|
|
tracing = { version = "0.1.37", 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
|
2023-01-27 18:13:10 +00:00
|
|
|
reqwest = { version = "0.11.14", default-features = false, features = ["json", "rustls-tls"] }
|
2022-09-11 01:03:15 +00:00
|
|
|
url = { version = "2.3.1", 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 }
|
2022-09-18 15:45:45 +00:00
|
|
|
instant = { version = "0.1.12", features = ["now"] }
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-05-29 00:54:45 +00:00
|
|
|
tokio = { version = "1.18" }
|
2020-10-08 15:56:36 +00:00
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[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",
|
|
|
|
] }
|
2023-02-15 18:55:04 +00:00
|
|
|
once_cell = "1.17.1"
|
2022-10-25 18:12:50 +00:00
|
|
|
ethers-solc = { version = "^1.0.0", path = "../ethers-solc" }
|
2022-12-22 18:59:44 +00:00
|
|
|
serial_test = "0.10.0"
|
2023-01-27 18:13:10 +00:00
|
|
|
reqwest = { version = "0.11.14", default-features = false, features = ["json", "rustls"] }
|
2022-10-25 18:12:50 +00:00
|
|
|
|
2021-08-23 09:56:44 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2022-05-29 00:54:45 +00:00
|
|
|
tokio = { version = "1.18", default-features = false, features = ["rt", "macros", "time"] }
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
[features]
|
2022-12-21 14:44:42 +00:00
|
|
|
default = ["rustls"]
|
2021-08-28 21:06:29 +00:00
|
|
|
celo = ["ethers-core/celo", "ethers-providers/celo", "ethers-signers/celo", "ethers-contract/celo"]
|
2022-12-21 14:44:42 +00:00
|
|
|
openssl = ["reqwest/native-tls"]
|
|
|
|
rustls = ["reqwest/rustls-tls"]
|