diff options
author | hozan23 <hozan23@proton.me> | 2023-11-20 22:19:02 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-11-20 22:19:02 +0300 |
commit | 2ee34b432e7652a34ee64a706b5ebc1bce867dce (patch) | |
tree | ec5b3611eddcfa4da4c33e8b1f2c8103079f1786 /jsonrpc/src/lib.rs | |
parent | dc7137f03f589967adf38d4a1b45f81f94732776 (diff) |
jsonrpc: move RPCService to separate module
Diffstat (limited to 'jsonrpc/src/lib.rs')
-rw-r--r-- | jsonrpc/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jsonrpc/src/lib.rs b/jsonrpc/src/lib.rs index 8a547d9..2ac89c9 100644 --- a/jsonrpc/src/lib.rs +++ b/jsonrpc/src/lib.rs @@ -50,6 +50,7 @@ mod client; mod error; pub mod message; mod server; +mod service; mod utils; pub const JSONRPC_VERSION: &str = "2.0"; @@ -58,4 +59,5 @@ use error::{Error, Result}; pub use client::Client; pub use error::Error as JsonRPCError; -pub use server::{RPCMethod, RPCService, Server}; +pub use server::Server; +pub use service::{RPCMethod, RPCService}; |