#api #open-rpc #error-code

openrpc-types

A transcription of types from the OpenRPC Specification

8 releases

new 0.3.3 Jun 11, 2024
0.3.2 Jun 10, 2024
0.2.2 May 29, 2024
0.1.0 May 22, 2024

#1263 in Network programming

Download history 331/week @ 2024-05-22 137/week @ 2024-05-29 605/week @ 2024-06-05

1,073 downloads per month
Used in openrpc-diff

MIT/Apache

43KB
672 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
~69K SLoC