Skip to main content

alux_jsonrpc_direct/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//! Interprets typed JSON-RPC programs as a JSON-RPC 2.0 message handler.
4//!
5//! This interpretation implements the specification itself rather than delegating to a framework: it
6//! decodes a request document, dispatches by method name, decodes parameters, and renders the
7//! response — including the protocol's own errors for a malformed document, an unknown method, and a
8//! parameter a method cannot read. It carries no transport and no runtime, so whatever moves bytes
9//! decides how a request arrives.
10
11mod args;
12mod dispatch;
13mod error;
14mod interpreter;
15mod table;
16
17pub use args::*;
18pub use error::*;
19pub use interpreter::*;
20pub use table::*;