2020-09-24 21:33:09 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-middleware"
|
2022-09-18 15:45:45 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
2023-03-16 19:28:35 +00:00
|
|
|
readme = "README.md"
|
2020-09-24 21:33:09 +00:00
|
|
|
description = "Middleware implementations for the ethers-rs crate"
|
2023-03-16 19:28:35 +00:00
|
|
|
|
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
documentation.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
categories.workspace = true
|
|
|
|
keywords.workspace = true
|
|
|
|
exclude.workspace = true
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2023-03-08 22:58:44 +00:00
|
|
|
rustc-args = ["--cfg", "docsrs"]
|
2020-09-24 21:33:09 +00:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
[package.metadata.playground]
|
|
|
|
all-features = true
|
|
|
|
|
2020-09-24 21:33:09 +00:00
|
|
|
[dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-contract = { workspace = true, features = ["abigen"] }
|
|
|
|
ethers-core.workspace = true
|
|
|
|
ethers-etherscan.workspace = true
|
|
|
|
ethers-providers.workspace = true
|
|
|
|
ethers-signers.workspace = true
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
async-trait.workspace = true
|
|
|
|
auto_impl.workspace = true
|
|
|
|
serde.workspace = true
|
|
|
|
thiserror.workspace = true
|
|
|
|
futures-util.workspace = true
|
|
|
|
futures-locks.workspace = true
|
2023-03-21 18:18:41 +00:00
|
|
|
futures-channel.workspace = true
|
2023-03-16 19:28:35 +00:00
|
|
|
tracing.workspace = true
|
|
|
|
tracing-futures.workspace = true
|
|
|
|
instant.workspace = true
|
2020-09-24 21:33:09 +00:00
|
|
|
|
|
|
|
# for gas oracles
|
2023-03-16 19:28:35 +00:00
|
|
|
reqwest.workspace = true
|
|
|
|
url.workspace = true
|
2020-09-24 21:33:09 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
serde_json.workspace = true
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
tokio.workspace = true
|
2020-10-08 15:56:36 +00:00
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[dev-dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-providers = { workspace = true, features = ["ws", "rustls"] }
|
|
|
|
ethers-solc.workspace = true
|
2023-03-01 00:26:27 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
hex.workspace = true
|
|
|
|
rand.workspace = true
|
|
|
|
once_cell.workspace = true
|
|
|
|
reqwest = { workspace = true, 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]
|
2023-03-21 22:19:16 +00:00
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "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"]
|