Cargo Features

jsonrpsee-core has no features set by default.

[dependencies]
jsonrpsee-core = { version = "0.25.1", features = ["http-helpers", "server", "client", "async-client", "async-wasm-client"] }
http-helpers = bytes, futures-util, http, http-body, http-body-util
server = futures-util, http, parking_lot, pin-project, rand, tower

Enables std of rustc-hash, macros, rt, sync and time of tokio

client async-client? async-wasm-client? = http, pin-project, tower

Enables sync of tokio and sink of futures-util

optional deps

async-client = client, futures-timer, futures-util, pin-project, rustc-hash, tokio-stream

Enables macros, rt and time of tokio

async-wasm-client = client, futures-util, pin-project, wasm-bindgen-futures

Enables wasm-bindgen of futures-timer, std of rustc-hash, macros and time of tokio

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.

futures-util async-client? async-wasm-client? client? http-helpers? server?
http client? http-helpers? server?
bytes http-helpers?
http-body http-helpers?
http-body-util http-helpers?
rustc-hash async-client? async-wasm-client? server?
rand server?
parking_lot server?
tokio async-client? async-wasm-client? client? server?
tower client? server?
futures-timer async-client? async-wasm-client?
tokio-stream async-client?
pin-project async-client? async-wasm-client? client? server?
wasm-bindgen-futures wasm32 async-wasm-client?