#json-rpc #rpc #json-rpc-types

no-std json-rpc-types

Type definitions for JSON-RPC

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

#51 in No standard library

Download history 155/week @ 2024-12-13 121/week @ 2024-12-20 102/week @ 2024-12-27 124/week @ 2025-01-03 114/week @ 2025-01-10 182/week @ 2025-01-17 96/week @ 2025-01-24 99/week @ 2025-01-31 145/week @ 2025-02-07 162/week @ 2025-02-14 111/week @ 2025-02-21 85/week @ 2025-02-28 106/week @ 2025-03-07 220/week @ 2025-03-14 169/week @ 2025-03-21 66/week @ 2025-03-28

579 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–0.9MB
~21K SLoC