Cargo Features
jsonrpsee-core has no features set by default.
[dependencies]
jsonrpsee-core = { version = "0.22.4", features = ["http-helpers", "server", "client", "async-client", "async-wasm-client"] }
- http-helpers = futures-util, hyper
- server = 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
- 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?
- hyper http-helpers?
-
Enables hyper ^0.14.10
- rustc-hash async-client? async-wasm-client? server?
- rand server?
- parking_lot server?
- tokio async-client? async-wasm-client? client? server?
- wasm-bindgen-futures async-wasm-client?
- futures-timer async-client? async-wasm-client?
- tokio-stream async-client?
- pin-project async-client? async-wasm-client?