Cargo Features

jsonrpsee-core has no features set by default.

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

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

optional deps

client async-client? async-wasm-client?

Enables sink of futures-util, sync of tokio

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

Enables alloc of futures-util, macros, rt and time of tokio

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

Enables wasm-bindgen of futures-timer, alloc of futures-util, 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 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?
futures-timer async-client? async-wasm-client?
tokio-stream async-client?
pin-project async-client? async-wasm-client?
wasm-bindgen-futures wasm32 async-wasm-client?