conduit_core/lib.rs
1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3//! # conduit-core
4//!
5//! Binary IPC core for Tauri v2. Provides a binary codec, synchronous dispatch
6//! table, and in-process ring buffer for the `conduit://` custom protocol.
7
8pub mod codec;
9pub mod error;
10pub mod ringbuf;
11pub mod router;
12
13pub use codec::{
14 FRAME_HEADER_SIZE, FrameHeader, MsgType, PROTOCOL_VERSION, WireDecode, WireEncode,
15 frame_unwrap, frame_wrap,
16};
17pub use error::ConduitError;
18pub use ringbuf::ConduitRingBuffer;
19pub use router::DispatchTable;