2020-05-26 09:37:31 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-providers"
|
2020-06-18 05:20:20 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-08-31 10:41:51 +00:00
|
|
|
version = "0.5.2"
|
2020-05-26 09:37:31 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
|
|
|
edition = "2018"
|
2020-06-20 13:55:07 +00:00
|
|
|
description = "Provider implementations for the ethers-rs crate"
|
|
|
|
homepage = "https://docs.rs/ethers"
|
|
|
|
repository = "https://github.com/gakonst/ethers-rs"
|
|
|
|
keywords = ["ethereum", "web3", "celo", "ethers"]
|
2020-05-26 09:37:31 +00:00
|
|
|
|
2020-06-21 07:17:11 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2020-05-26 09:37:31 +00:00
|
|
|
[dependencies]
|
2021-08-28 23:53:10 +00:00
|
|
|
ethers-core = { version = "^0.5.0", path = "../ethers-core", default-features = false }
|
2020-05-26 09:52:15 +00:00
|
|
|
|
2021-04-27 20:18:06 +00:00
|
|
|
async-trait = { version = "0.1.50", default-features = false }
|
2021-03-04 07:30:36 +00:00
|
|
|
hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
2021-07-05 11:32:17 +00:00
|
|
|
reqwest = { version = "0.11.4", default-features = false, features = ["json"] }
|
2021-03-08 07:48:24 +00:00
|
|
|
serde = { version = "1.0.124", default-features = false, features = ["derive"] }
|
2021-03-02 12:53:33 +00:00
|
|
|
serde_json = { version = "1.0.64", default-features = false }
|
2021-08-31 10:55:22 +00:00
|
|
|
thiserror = { version = "1.0.28", default-features = false }
|
2021-07-05 11:20:51 +00:00
|
|
|
url = { version = "2.2.2", default-features = false }
|
2020-12-25 00:17:21 +00:00
|
|
|
auto_impl = { version = "0.4.1", default-features = false }
|
2020-05-27 11:32:44 +00:00
|
|
|
|
2020-06-15 08:46:07 +00:00
|
|
|
# required for implementing stream on the filters
|
2021-08-20 16:58:13 +00:00
|
|
|
futures-core = { version = "0.3.16", default-features = false }
|
2021-08-31 05:48:24 +00:00
|
|
|
futures-util = { version = "0.3.17" }
|
2020-07-02 15:33:16 +00:00
|
|
|
futures-timer = { version = "3.0.2", default-features = false }
|
2021-08-20 16:58:13 +00:00
|
|
|
futures-channel = { version = "0.3.16", default-features = false }
|
2021-04-27 19:35:50 +00:00
|
|
|
pin-project = { version = "1.0.7", default-features = false }
|
2020-06-21 07:17:11 +00:00
|
|
|
|
2020-12-25 00:17:21 +00:00
|
|
|
# tracing
|
2021-07-05 11:15:57 +00:00
|
|
|
tracing = { version = "0.1.26", default-features = false }
|
2021-03-04 07:30:27 +00:00
|
|
|
tracing-futures = { version = "0.2.5", default-features = false, features = ["std-future"] }
|
2020-12-25 00:17:21 +00:00
|
|
|
|
2021-08-26 08:29:52 +00:00
|
|
|
bytes = { version = "1.1.0", default-features = false, optional = true }
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2020-12-31 17:19:14 +00:00
|
|
|
# tokio
|
2021-08-23 09:56:44 +00:00
|
|
|
tokio-util = { version = "0.6.7", default-features = false, features = ["io"], optional = true }
|
2021-04-16 07:09:43 +00:00
|
|
|
tokio = { version = "1.5", default-features = false, optional = true }
|
2021-07-26 08:25:45 +00:00
|
|
|
tokio-tungstenite = { version = "0.15.0", default-features = false, features = ["connect"], optional = true }
|
2021-08-23 09:56:44 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
ws_stream_wasm = "0.7"
|
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
|
|
wasm-timer = "0.2"
|
|
|
|
# this is currently necessary for `wasm-timer::Delay` to work
|
|
|
|
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
|
2020-06-15 08:46:07 +00:00
|
|
|
|
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"] }
|
2021-04-08 06:52:31 +00:00
|
|
|
tempfile = "3.2.0"
|
2020-06-17 09:22:01 +00:00
|
|
|
|
|
|
|
[features]
|
2021-07-05 11:32:17 +00:00
|
|
|
default = ["ws", "ipc", "rustls"]
|
2021-06-10 18:27:17 +00:00
|
|
|
celo = ["ethers-core/celo"]
|
2020-12-31 17:19:14 +00:00
|
|
|
ws = ["tokio", "tokio-tungstenite"]
|
2021-04-08 08:44:48 +00:00
|
|
|
ipc = ["tokio", "tokio/io-util", "tokio-util", "bytes"]
|
2021-07-05 11:32:17 +00:00
|
|
|
|
|
|
|
openssl = ["tokio-tungstenite/native-tls", "reqwest/native-tls"]
|
|
|
|
rustls = ["tokio-tungstenite/rustls-tls", "reqwest/rustls-tls"]
|