Skip to main content

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    Decode, Encode, FRAME_HEADER_SIZE, FrameHeader, MsgType, PROTOCOL_VERSION, frame_pack,
15    frame_unpack,
16};
17pub use error::Error;
18pub use ringbuf::RingBuffer;
19pub use router::Router;