Expand description

Rust JSON-RPC Library

Rust support for the JSON-RPC 2.0 protocol.

Re-exports

pub use client::Client;
pub use client::Transport;
pub use error::Error;

Modules

Client support

Error handling

This module implements a minimal and non standard conforming HTTP 1.0 round-tripper that works with the bitcoind RPC server. This can be used if minimal dependencies are a goal and synchronous communication is ok.

Structs

A JSONRPC request object

A JSONRPC response object

Functions

Shorthand method to convert an argument into a Box<serde_json::value::RawValue>.

Shorthand method to convert an argument into a Box<serde_json::value::RawValue>. Since serializers rarely fail, it’s probably easier to use arg instead.