Skip to content

RustDT/rustdt-json_rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

RustDT JSON-RPC

A JSON-RPC library for Rust.

Originally created because I wanted to developed a "real-world" project to effectively learn Rust (especially with code related to concurrency/multi-threading). Also, at the time, jsonrpc-core didn't support asynchronous method handling.

As compared to jsonrpc-core

  • Supports both client and server directions (The same endpoint can be used for both). jsonrpc-core only server handling, currently.
  • Does't support batch requests, jsonrpc-core does.
  • Some minor implementations details: TODO describe more?
    • id support? Must be a JSON String, Null, or Number fitting into a unsigned 64 bits integer.

Usage:

See full server/client example here:

Projects using rustdt_json_rpc:

About

A JSON-RPC library for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages