moq_native/
lib.rs

1//! Helper library for native MoQ applications.
2//!
3//! Establishes MoQ connections over:
4//! - WebTransport (HTTP/3)
5//! - Raw QUIC (with ALPN negotiation)
6//! - WebSocket (fallback via [web-transport-ws](https://crates.io/crates/web-transport-ws))
7//! - Iroh P2P (requires `iroh` feature)
8//!
9//! See [`Client`] for connecting to relays and [`Server`] for accepting connections.
10
11mod client;
12mod crypto;
13mod log;
14mod server;
15
16pub use client::*;
17pub use log::*;
18pub use server::*;
19
20// Re-export these crates.
21pub use moq_lite;
22pub use rustls;
23pub use web_transport_quinn;
24
25#[cfg(feature = "iroh")]
26mod iroh;
27#[cfg(feature = "iroh")]
28pub use iroh::*;