ethers-rs/ethers-providers/Cargo.toml

51 lines
2.0 KiB
TOML

[package]
name = "ethers-providers"
license = "MIT OR Apache-2.0"
version = "0.2.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018"
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"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
ethers-core = { version = "0.2", path = "../ethers-core", default-features = false }
async-trait = { version = "0.1.42", default-features = false }
reqwest = { version = "0.11.0", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1.0.119", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.60", default-features = false }
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 }
# required for implementing stream on the filters
futures-core = { version = "0.3.12", default-features = false }
futures-util = { version = "0.3.12", default-features = false }
futures-timer = { version = "3.0.2", default-features = false }
futures-channel = { version = "0.3.12", default-features = false }
pin-project = { version = "1.0.3", default-features = false }
# tracing
tracing = { version = "0.1.22", default-features = false }
tracing-futures = { version = "0.2.4", default-features = false }
# tokio
tokio = { version = "1.0", default-features = false, optional = true }
tokio-tungstenite = { version = "0.13.0", default-features = false, features = ["connect", "tls"], optional = true }
[dev-dependencies]
ethers = { version = "0.2", path = "../ethers" }
tokio = { version = "1.0", default-features = false, features = ["rt", "macros"] }
hex = { version = "0.4.2", default-features = false, features = ["std"] }
[features]
default = ["ws"]
celo = ["ethers-core/celo"]
ws = ["tokio", "tokio-tungstenite"]