From 711d0a729a87d3d9831990a0f988e81ff77b748d Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Wed, 3 Jan 2024 13:31:04 -0700 Subject: [PATCH] publish rpc types --- rpc-toolkit/src/server/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;