#jsonrpc #rpc #async #client

async-jsonrpc-client

An asynchronous JSON-RPC 2.0 client library

7 releases

0.3.0 Feb 24, 2021
0.3.0-beta.1 Feb 14, 2021
0.2.0 Feb 6, 2021
0.1.3 Jul 24, 2020
0.1.1 May 26, 2020

#579 in Network programming

Download history 5/week @ 2020-12-24 4/week @ 2020-12-31 21/week @ 2021-01-07 3/week @ 2021-01-14 22/week @ 2021-01-21 14/week @ 2021-01-28 32/week @ 2021-02-04 33/week @ 2021-02-11 86/week @ 2021-02-18 50/week @ 2021-02-25 46/week @ 2021-03-04 16/week @ 2021-03-11 3/week @ 2021-03-18 37/week @ 2021-03-25 16/week @ 2021-04-01 46/week @ 2021-04-08

110 downloads per month

MIT/Apache

140KB
3K SLoC

async-jsonrpc-client

ga-svg crates-svg docs-svg

An asynchronous JSON-RPC 2.0 client library written in Rust.

Features

  • support HTTP
  • support WebSocket
  • support batch request
  • support subscription (only for WebSocket client)
  • support async-std and tokio runtime

Usage

See the examples for details.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~2.3–10MB
~212K SLoC