Cargo Features

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

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

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

tls-rustls-platform-verifier = rustls-platform-verifier, tls
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 ^1

optional

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

Enables tokio-rustls

tls

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

Enables rustls-platform-verifier ^0.3.1

rustls tls?
soketto ws?

Enables soketto

ws

futures-channel wasm32 web?
gloo-net wasm32 web?