diff options
author | Neal H. Walfield <neal@pep.foundation> | 2022-09-09 14:29:00 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2022-09-09 14:29:00 +0200 |
commit | e0e5174262ac3203eb378677f063abdc8d98d187 (patch) | |
tree | b0daa72aa6b9ee41d31d80408831cd207ae2777c /ipc | |
parent | 273459c3c784ae1ff00c7fe8c2c7449c602a0a74 (diff) |
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).
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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}; |