aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/lib.rs
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-05-19 22:18:06 +0200
committerhozan23 <hozan23@karyontech.net>2024-05-19 22:18:06 +0200
commit1c520b20f70ddbdab885ec6c4bf5c87893a26eb4 (patch)
tree0e51b047e1df0b29fecdc5c39b200d5ecca520ef /jsonrpc/src/lib.rs
parent41ceed49285b4082477a83d7dda02fbfb3f96b2a (diff)
jsonrpc: remove jsonrpc_internal crate
Diffstat (limited to 'jsonrpc/src/lib.rs')
-rw-r--r--jsonrpc/src/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/jsonrpc/src/lib.rs b/jsonrpc/src/lib.rs
index 4ec03cc..3062512 100644
--- a/jsonrpc/src/lib.rs
+++ b/jsonrpc/src/lib.rs
@@ -68,13 +68,15 @@
mod client;
mod codec;
+mod error;
pub mod message;
mod server;
+mod service;
pub use client::Client;
pub use server::Server;
-pub use karyon_jsonrpc_internal::{impl_rpc_service, RPCMethod, RPCService};
-pub use karyon_jsonrpc_internal::{Error, Result};
+pub use error::{Error, Result};
pub use karyon_jsonrpc_macro::rpc_impl;
pub use karyon_net::Endpoint;
+pub use service::{RPCMethod, RPCService};