1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! MINI-RPC is a stateless, light-weight remote procedure call (RPC) protocol.
//! Inspired by the [JSON-RPC 2.0 Specification](https://www.jsonrpc.org/specification),
//! this implementation written in Rust selected its essential parts in order to keep
//! as minimal as possible the communication between processes.

#[macro_use]
extern crate serde_derive;

pub mod call;
pub mod error;
pub mod failure;
pub mod id;
pub mod method;
pub mod notification;
pub mod params;
pub mod request;
pub mod response;
pub mod success;

pub use self::call::Call;
pub use self::error::Error;
pub use self::failure::Failure;
pub use self::id::Id;
pub use self::method::Method;
pub use self::notification::Notification;
pub use self::params::Params;
pub use self::request::Payload as RequestPayload;
pub use self::request::Request;
pub use self::response::Payload as ResponsePayload;
pub use self::response::Response;
pub use self::success::Success;
pub use serde_json::{Map, Value};