Cargo Features
jsonrpsee has no features set by default.
[dependencies]
jsonrpsee = { version = "0.24.7", features = ["full", "client-ws-transport-tls", "client-ws-transport-no-tls", "client-web-transport", "async-client", "async-wasm-client", "http-client", "wasm-client", "ws-client", "macros", "client", "client-core", "server", "server-core"] }
- full = client, macros, server
- client-ws-transport-tls client?
-
Enables tls-rustls-platform-verifier and ws of jsonrpsee-client-transport
- client-ws-transport-no-tls
-
Enables ws of jsonrpsee-client-transport
- client-web-transport client?
-
Enables web of jsonrpsee-client-transport
- async-client client?
-
Enables async-client of jsonrpsee-core
- async-wasm-client client?
-
Enables async-wasm-client of jsonrpsee-core
- http-client client? = jsonrpsee-http-client, jsonrpsee-types
-
Enables client of jsonrpsee-core
- wasm-client client? = jsonrpsee-types, jsonrpsee-wasm-client
-
Enables client of jsonrpsee-core
- ws-client client? = jsonrpsee-types, jsonrpsee-ws-client
-
Enables client of jsonrpsee-core
- macros full? = jsonrpsee-proc-macros, jsonrpsee-types, tracing
- client full? = async-client, async-wasm-client, client-core, client-web-transport, client-ws-transport-tls, http-client, wasm-client, ws-client
- client-core client?
-
Enables client of jsonrpsee-core
- server full? = jsonrpsee-server, jsonrpsee-types, server-core, tokio
- server-core server?
-
Enables server of jsonrpsee-core
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.
- jsonrpsee-http-client http-client?
-
Enables jsonrpsee-http-client
No support for namespaced features yet so workspace dependencies are prefixed with
jsonrpsee-
. See https://github.com/rust-lang/cargo/issues/5565 for more details. - jsonrpsee-ws-client ws-client?
- jsonrpsee-wasm-client wasm-client?
- jsonrpsee-client-transport client-web-transport? client-ws-transport-no-tls? client-ws-transport-tls?
- jsonrpsee-server server?
- jsonrpsee-proc-macros macros?
- jsonrpsee-core async-client? async-wasm-client? client-core? http-client? server-core? wasm-client? ws-client?
- jsonrpsee-types http-client? macros? server? wasm-client? ws-client?
- tracing macros?
- tokio server?