diff --git a/rpc-toolkit/src/server/mod.rs b/rpc-toolkit/src/server/mod.rs index fca5ccb..cc9a87a 100644 --- a/rpc-toolkit/src/server/mod.rs +++ b/rpc-toolkit/src/server/mod.rs @@ -10,10 +10,10 @@ use yajrc::{RpcError, RpcMethod}; use crate::util::{invalid_request, JobRunner}; use crate::{AnyHandler, HandleAny, HandleAnyArgs, IntoContext, ParentHandler}; -type GenericRpcMethod = yajrc::GenericRpcMethod; -type RpcRequest = yajrc::RpcRequest; -type RpcResponse = yajrc::RpcResponse; -type SingleOrBatchRpcRequest = yajrc::SingleOrBatchRpcRequest; +pub type GenericRpcMethod = yajrc::GenericRpcMethod; +pub type RpcRequest = yajrc::RpcRequest; +pub type RpcResponse = yajrc::RpcResponse; +pub type SingleOrBatchRpcRequest = yajrc::SingleOrBatchRpcRequest; mod http; mod socket;