Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doumanash/json-rpc-types
Type definitions for JSON-RPC
https://github.com/doumanash/json-rpc-types
json-rpc rust
Last synced: 2 months ago
JSON representation
Type definitions for JSON-RPC
- Host: GitHub
- URL: https://github.com/doumanash/json-rpc-types
- Owner: DoumanAsh
- License: bsl-1.0
- Created: 2020-09-23T14:28:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T10:07:02.000Z (over 1 year ago)
- Last Synced: 2024-10-11T14:17:33.055Z (3 months ago)
- Topics: json-rpc, rust
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# json-rpc-types
![Rust](https://github.com/DoumanAsh/json-rpc-types/workflows/Rust/badge.svg?branch=master)
[![Crates.io](https://img.shields.io/crates/v/json-rpc-types.svg)](https://crates.io/crates/json-rpc-types)
[![Documentation](https://docs.rs/json-rpc-types/badge.svg)](https://docs.rs/crate/json-rpc-types/)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.