Cargo Features

jsonrpsee-client-transport has no features set by default.

jsonrpsee-client-transport = { version = "0.23.1", features = ["tls", "ws", "web"] }
tls = rustls, rustls-pki-types, rustls-platform-verifier, tokio-rustls

Affects ws::CustomCertStore, ws::CertificateStore, ws::WsTransportClientBuilder.certificate_store

ws = base64, futures-util, http, pin-project, soketto, thiserror, tokio, tokio-util, url

Affects jsonrpsee-client-transport::ws

web = futures-channel, futures-util, gloo-net, thiserror

Affects jsonrpsee-client-transport::web

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

thiserror web? ws?

Enables thiserror


futures-channel web?
futures-util web? ws?
http ws?
tokio-util ws?
tokio ws?
pin-project ws?
url ws?
base64 ws?
tokio-rustls tls?

Enables tokio-rustls


rustls-pki-types tls?
rustls-platform-verifier tls?
rustls tls?
soketto ws?

Enables soketto


gloo-net web?

Enables gloo-net