mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-26 12:26:02 +00:00
92800810d9
* readme * cuprated: add all workspace deps * cuprated: add lints * !! * add state, fn signatures * fixes * error signatures * interface: handle json-rpc concepts * split rpc calls into 3 `Service`s * interface: extract out to `RpcService` * fix merge * remove crate lints * use `BoxFuture` * rpc/interface: impl `thiserror::Error` * split state from main handler struct * cleanup * fix imports * replace `RpcError` with `anyhow::Error` * interface: update error * cuprated: update error type
10 lines
190 B
Rust
10 lines
190 B
Rust
//! RPC
|
|
//!
|
|
//! Will contain the code to initiate the RPC and a request handler.
|
|
|
|
mod bin;
|
|
mod handler;
|
|
mod json;
|
|
mod other;
|
|
|
|
pub use handler::{CupratedRpcHandler, CupratedRpcHandlerState};
|