27 releases (15 breaking)

0.16.2 Dec 1, 2022
0.16.1 Nov 18, 2022
0.15.1 Jul 29, 2022
0.9.0 Feb 3, 2022
0.1.0 Feb 28, 2020

#22 in Web programming

Download history 25898/week @ 2022-12-02 24227/week @ 2022-12-09 22069/week @ 2022-12-16 14728/week @ 2022-12-23 16155/week @ 2022-12-30 23360/week @ 2023-01-06 22653/week @ 2023-01-13 23978/week @ 2023-01-20 26586/week @ 2023-01-27 27581/week @ 2023-02-03 30354/week @ 2023-02-10 30484/week @ 2023-02-17 32593/week @ 2023-02-24 33547/week @ 2023-03-03 39144/week @ 2023-03-10 36650/week @ 2023-03-17

147,169 downloads per month
Used in 84 crates (44 directly)

MIT license

80KB
1.5K SLoC

jsonrpsee wrapper crate.


Optional features

The jsonrpsee crate composes JSON-RPC functionality behind optional feature flags to provide for client and server communication over specific protocols. There are no default features, all functionality must be opted in to accordingly. The following features are available.

  • http-client - JSON-RPC client functionality over HTTP protocol.
  • wasm-client - JSON-RPC client functionality over web-sys.
  • ws-client - JSON-RPC client functionality over WebSocket protocol.
  • macros - JSON-RPC API generation convenience by derive macros.
  • client-core - Enables minimal client features to generate the RPC API without transports.
  • client - Enables all client features including transports.
  • server-core - Enables minimal server features to generate the RPC API without transports.
  • server - Enables all server features including transports.
  • full - Enables all features.
  • async-client - Enables the async client without any transport.
  • client-ws-transport - Enables ws transport with TLS.
  • client-ws-transport-no-tls - Enables ws transport without TLS.
  • client-web-transport - Enables websys transport.

Dependencies

~0–8MB
~147K SLoC