#open-rpc #api #error-code

openrpc-types

A transcription of types from the OpenRPC Specification

9 unstable releases (3 breaking)

0.4.0 Jun 28, 2024
0.3.3 Jun 11, 2024
0.2.2 May 29, 2024
0.1.0 May 22, 2024

#1274 in Network programming

Download history 1187/week @ 2024-09-20 672/week @ 2024-09-27 854/week @ 2024-10-04 1006/week @ 2024-10-11 596/week @ 2024-10-18 637/week @ 2024-10-25 296/week @ 2024-11-01 361/week @ 2024-11-08 228/week @ 2024-11-15 1012/week @ 2024-11-22 762/week @ 2024-11-29 827/week @ 2024-12-06 953/week @ 2024-12-13 220/week @ 2024-12-20 94/week @ 2024-12-27 653/week @ 2025-01-03

2,088 downloads per month
Used in 2 crates

MIT/Apache

44KB
687 lines

A transcription of types from the OpenRPC Specification.

This library does NOT perform more complicated validation of the spec, including:

  • unique method names
  • unique error codes
  • reference idents

Link objects are not currently supported.

When quoted, the specification will appear as blockquoted text, like so.


lib.rs:

A transcription of types from the OpenRPC Specification.

This library does NOT perform more complicated validation of the spec, including:

  • unique method names
  • unique error codes
  • reference idents

Link objects are not currently supported.

When quoted, the specification will appear as blockquoted text, like so. Parallel types where ReferenceOr<T> is replaced by item T.

Dependencies

~2.6–4MB
~72K SLoC