1#![warn(unreachable_pub)]
2#![warn(clippy::use_self)]
3
4mod buffer;
5mod connection;
6mod listener;
7mod stream;
8
9#[cfg(feature = "msquic-2-5")]
10pub use msquic_v2_5 as msquic;
11#[cfg(feature = "msquic-seera")]
12pub use seera_msquic as msquic;
13
14pub use buffer::StreamRecvBuffer;
15pub use connection::{
16 AcceptInboundStream, AcceptInboundUniStream, Connection, ConnectionError, ConnectionEvent,
17 DgramReceiveError, DgramSendError, EventError, OpenOutboundStream,
18 ShutdownError as ConnectionShutdownError, StartError as ConnectionStartError,
19};
20pub use listener::{ListenError, Listener};
21pub use stream::{
22 ReadError, ReadStream, StartError as StreamStartError, Stream, StreamType, WriteError,
23 WriteStream,
24};
25
26#[cfg(test)]
27mod tests;