ajj 0.1.0

Simple, modern, ergonomic JSON-RPC 2.0 router built with tower and axum
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Core types, like [`Request`] and [`Response`].

mod req;
pub(crate) use req::Request;

mod resp;
pub(crate) use resp::Response;
pub use resp::{ErrorPayload, ResponsePayload};

mod error;
pub(crate) use error::RequestError;

pub(crate) const ID_LEN_LIMIT: usize = 80;
pub(crate) const METHOD_LEN_LIMIT: usize = 80;