diff --git a/Cargo.toml b/Cargo.toml index 9156ceb..396a7b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "may_rpc" -version = "0.1.1" +version = "0.1.2" edition = "2021" authors = ["Xudong Huang "] license = "MIT" diff --git a/may_rpc_derive/Cargo.toml b/may_rpc_derive/Cargo.toml index fbbb295..c2e3216 100644 --- a/may_rpc_derive/Cargo.toml +++ b/may_rpc_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "may_rpc_derive" -version = "0.1.1" +version = "0.1.2" edition = "2021" authors = ["Xudong Huang "] license = "MIT" diff --git a/src/conetty/mod.rs b/src/conetty/mod.rs index b338ffe..20a50f6 100644 --- a/src/conetty/mod.rs +++ b/src/conetty/mod.rs @@ -14,7 +14,7 @@ pub use errors::{Error, WireError}; pub use frame::{Frame, ReqBuf, RspBuf}; pub use multiplex_client::MultiplexClient; -pub use server::{TcpServer, UdpServer}; +pub use server::{ServerInstance, TcpServer, UdpServer}; pub use stream_client::StreamClient; pub use stream_ext::StreamExt; pub use udp_client::UdpClient; diff --git a/src/lib.rs b/src/lib.rs index a00bc97..4e9153c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,6 +32,6 @@ pub use serde; pub use conetty::{ Client, Error, Frame, MultiplexClient, ReqBuf, RspBuf, Server, StreamClient, StreamExt, - TcpServer, UdpClient, UdpServer, UdsServer, WireError, + TcpServer, UdpClient, UdpServer, UdsServer, WireError, ServerInstance }; pub use may_rpc_derive::{service, Server};