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

#103 in No standard library

Download history 136/week @ 2025-08-25 158/week @ 2025-09-01 179/week @ 2025-09-08 185/week @ 2025-09-15 125/week @ 2025-09-22 97/week @ 2025-09-29 88/week @ 2025-10-06 144/week @ 2025-10-13 254/week @ 2025-10-20 239/week @ 2025-10-27 96/week @ 2025-11-03 82/week @ 2025-11-10 440/week @ 2025-11-17 125/week @ 2025-11-24 63/week @ 2025-12-01 36/week @ 2025-12-08

669 downloads per month
Used in 3 crates

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.

Dependencies

~0.3–1MB
~22K SLoC