#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]
#[cfg(feature = "vane_dbg")]
#[macro_export]
macro_rules! dbg_trace {
($($arg:tt)*) => { eprintln!($($arg)*) };
}
#[cfg(not(feature = "vane_dbg"))]
#[macro_export]
macro_rules! dbg_trace {
($($arg:tt)*) => {};
}
pub mod buffer;
pub mod engine;
pub mod h2;
pub mod handler;
pub mod net;
pub mod slab;
pub mod splice;
pub mod spsc;
pub mod token;
pub mod worker;
pub use buffer::{BufferPool, DEFAULT_BUF_SIZE, DEFAULT_POOL_SIZE};
pub use engine::{Cqe, Engine, Poll};
pub use handler::{Handler, HandlerFactory, Mode, SessionIo};
pub use net::{set_keepalive, set_nodelay, tcp_listener};
pub use slab::{SessionSlab, SlabError};
pub use spsc::{SpscReceiver, SpscRing, SpscSender};
pub use token::{Op, Token};
pub use worker::{WorkerCmd, WorkerConfig, WorkerCtx, WorkerHandle, spawn as spawn_worker};
#[cfg(test)]
mod tests {
#[test]
fn workspace_compiles() {
}
}