14 releases (stable)

1.3.4 Aug 28, 2023
1.3.0 Mar 14, 2023
1.2.0 Sep 11, 2022
1.0.3 Jul 7, 2022
1.0.0-beta.4 Oct 3, 2020

#60 in No standard library

Download history 172/week @ 2024-07-29 142/week @ 2024-08-05 36/week @ 2024-08-12 8/week @ 2024-08-19 20/week @ 2024-08-26 82/week @ 2024-09-02 203/week @ 2024-09-09 61/week @ 2024-09-16 152/week @ 2024-09-23 83/week @ 2024-09-30 61/week @ 2024-10-07 68/week @ 2024-10-14 40/week @ 2024-10-21 53/week @ 2024-10-28 76/week @ 2024-11-04 38/week @ 2024-11-11

210 downloads per month
Used in snarkos-rpc

BSL-1.0 license

22KB
446 lines

json-rpc-types

Rust Crates.io Documentation

This library provides generic type definitions to serialize/deserialize JSON-RPC request/responses. It doesn't contain implementation itself as it is intended to be used as building block of actual implementation.

Features

  • id-str-only - Forces ID deserialization to assume string only.
  • id-number-only - Forces ID deserialization to assume number only.

lib.rs:

JSON-RPCv2 data types

This library provides generic type definitions to serialize/deserialize JSON-RPC request/responses. It doesn't contain implementation itself as it is intended to be used as building block of actual implementation.

Features

  • id-str-only - Forces ID deserialization to assume string only.
  • id-number-only - Forces ID deserialization to assume number only.

Dependencies

~0.4–1MB
~22K SLoC