14 releases (8 breaking)

Uses old Rust 2015

0.9.1 Mar 3, 2018
0.9.0 Aug 10, 2017
0.8.0 Apr 23, 2017
0.7.2 Mar 29, 2017

#28 in #json-rpc

Download history 2/week @ 2022-11-14 1/week @ 2022-11-21 5/week @ 2022-12-05 4/week @ 2022-12-12 3/week @ 2022-12-19 5/week @ 2022-12-26 2/week @ 2023-01-02 6/week @ 2023-01-09 3/week @ 2023-01-16 8/week @ 2023-01-23 7/week @ 2023-01-30 25/week @ 2023-02-06 43/week @ 2023-02-13 14/week @ 2023-02-20 2/week @ 2023-02-27

84 downloads per month




Travis Build Status AppVeyor Build status

This is an implementation of the JSON RPC 2.0 protocol for tokio. It can handle some of the more niche features, like batches and an endpoint being both the server and the client at the same time.

Functionality might still be missing and the API of what exists is likely to change in small ways. However, it probably can be used for real work, if you don't mind having to update your code in the future.

Currently it contains the lower-level parts, parsing the messages and sending anwers. A small example how to use these can be found in the echo params program.

Also, a bit of higher level is there in the form of the Endpoint structure and some helpers in the server module. The use can be examined in the time server program.

The API documentation can be found here.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~122K SLoC