jsonrpc_client 0.7.1

An async, macro-driven JSON-RPC client with pluggable backends.
Documentation
1
2
3
4
5
6
7
8
struct Number;

#[jsonrpc_client::api]
pub trait Math {
    async fn subtract(&self, subtrahend: Number, minuend: Number) -> u64;
}

fn main() {}