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-01-13 18:10:50 +00:00
|
|
|
version = "0.2.0"
|
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-01-13 18:10:50 +00:00
|
|
|
ethers-core = { version = "0.2", path = "../ethers-core", default-features = false }
|
2020-05-26 09:52:15 +00:00
|
|
|
|
2020-12-25 00:17:21 +00:00
|
|
|
async-trait = { version = "0.1.42", default-features = false }
|
2021-01-22 09:25:22 +00:00
|
|
|
hex = { version = "0.4.2", default-features = false, features = ["std"] }
|
2021-01-07 13:24:07 +00:00
|
|
|
reqwest = { version = "0.11.0", default-features = false, features = ["json", "rustls-tls"] }
|
2021-01-26 15:41:58 +00:00
|
|
|
serde = { version = "1.0.123", default-features = false, features = ["derive"] }
|
2021-02-10 09:55:48 +00:00
|
|
|
serde_json = { version = "1.0.62", default-features = false }
|
2020-12-25 00:17:21 +00:00
|
|
|
thiserror = { version = "1.0.22", default-features = false }
|
|
|
|
url = { version = "2.2.0", default-features = false }
|
|
|
|
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-01-17 11:55:48 +00:00
|
|
|
futures-core = { version = "0.3.12", default-features = false }
|
2021-01-18 05:38:07 +00:00
|
|
|
futures-util = { version = "0.3.12", default-features = false }
|
2020-07-02 15:33:16 +00:00
|
|
|
futures-timer = { version = "3.0.2", default-features = false }
|
2021-01-17 11:56:25 +00:00
|
|
|
futures-channel = { version = "0.3.12", default-features = false }
|
2021-02-08 09:56:43 +00:00
|
|
|
pin-project = { version = "1.0.5", default-features = false }
|
2020-06-21 07:17:11 +00:00
|
|
|
|
2020-12-25 00:17:21 +00:00
|
|
|
# tracing
|
2021-02-06 03:43:54 +00:00
|
|
|
tracing = { version = "0.1.23", default-features = false }
|
2020-12-25 00:17:21 +00:00
|
|
|
tracing-futures = { version = "0.2.4", default-features = false }
|
|
|
|
|
2020-12-31 17:19:14 +00:00
|
|
|
# tokio
|
2021-02-08 09:56:27 +00:00
|
|
|
tokio = { version = "1.2", default-features = false, optional = true }
|
2021-01-10 10:05:12 +00:00
|
|
|
tokio-tungstenite = { version = "0.13.0", default-features = false, features = ["connect", "tls"], optional = true }
|
2020-06-15 08:46:07 +00:00
|
|
|
|
2020-05-27 11:32:44 +00:00
|
|
|
[dev-dependencies]
|
2021-01-13 18:10:50 +00:00
|
|
|
ethers = { version = "0.2", path = "../ethers" }
|
2021-02-08 09:56:27 +00:00
|
|
|
tokio = { version = "1.2", default-features = false, features = ["rt", "macros"] }
|
2020-06-17 09:22:01 +00:00
|
|
|
|
|
|
|
[features]
|
2020-12-31 17:19:14 +00:00
|
|
|
default = ["ws"]
|
2020-06-17 09:22:01 +00:00
|
|
|
celo = ["ethers-core/celo"]
|
2020-12-31 17:19:14 +00:00
|
|
|
ws = ["tokio", "tokio-tungstenite"]
|