#api #open-rpc #error-code

openrpc-types

A transcription of types from the OpenRPC Specification

8 releases

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

#1786 in Network programming

Download history 331/week @ 2024-05-22 134/week @ 2024-05-29 833/week @ 2024-06-05 551/week @ 2024-06-12

1,849 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

~1.8–2.9MB
~84K SLoC