From e0e5174262ac3203eb378677f063abdc8d98d187 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Fri, 9 Sep 2022 14:29:00 +0200 Subject: ipc: Reexport capnp_rpc. - Reexport the capnp_rpc crate to make it easier to users of the ipc library to use the same version of capnp_rpc as the ipc library. - This is needed, because some `capnp_rpc` types are part of the public API (specifically, the `Handler::handle` function). --- ipc/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs index ce53dedd..89b9a7ca 100644 --- a/ipc/src/lib.rs +++ b/ipc/src/lib.rs @@ -46,6 +46,7 @@ use fs2::FileExt; use capnp_rpc::{RpcSystem, twoparty}; use capnp_rpc::rpc_twoparty_capnp::Side; +pub use capnp_rpc as capnp_rpc; #[cfg(unix)] use std::os::unix::{io::{IntoRawFd, FromRawFd}, fs::OpenOptionsExt}; -- cgit v1.2.3