Newer
Older
authors = ["Parity Technologies <[email protected]>", "Pierre Krieger <[email protected]>"]
description = "WebSocket client for JSON-RPC"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"
tokioV1 = { package="tokio", version = "1", features = ["net", "time", "rt-multi-thread", "macros"], optional = true }
tokioV1-rustls = { package="tokio-rustls", version = "0.22", optional = true }
tokioV1-util = { package="tokio-util", version = "0.6", features = ["compat"], optional = true }
tokioV02 = { package="tokio", version = "0.2", features = ["net", "time", "rt-threaded", "sync", "macros"], optional = true }
tokioV02-rustls = { package="tokio-rustls", version = "0.15", optional = true }
tokioV02-util = { package="tokio-util", version = "0.3", features = ["compat"], optional = true }
async-trait = "0.1"
futures = { version = "0.3.14", default-features = false, features = ["std"] }
jsonrpsee-types = { path = "../types", version = "0.2.0" }
pin-project = "1"
thiserror = "1"
url = "2"
rustls = "0.19.1"
rustls-native-certs = "0.5.0"
env_logger = "0.8"
jsonrpsee-test-utils = { path = "../test-utils" }
[features]
default = ["tokio1"]
tokio1 = ["tokioV1", "tokioV1-rustls", "tokioV1-util"]
tokio02 = ["tokioV02", "tokioV02-rustls", "tokioV02-util"]