1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//! MoQT client library.
//!
//! Provides a full MoQT client stack with per-draft modules. Each enabled
//! draft lives under its own module (e.g. [`draft14`]) containing its own
//! connection, endpoint state machine, and per-flow state machines.
//!
//! The [`transport`] module is shared across drafts because it sits below
//! the MoQT protocol layer (raw QUIC / WebTransport streams and datagrams).
//!
//! # Feature flags
//!
//! Enable a draft with `--features draft14` (or any of `draft07`..`draft18`).
//! Use `all-drafts` to enable every implemented draft. Default is `draft14`.
//!
//! # Modules
//!
//! - [`dispatch`] — Multi-draft entry-point types (`AnyConnection`,
//! `AnyClientEvent`, `AnyConnectionObserver`)
//! - [`transport`] — Transport abstraction (QUIC, WebTransport)
//! - `draft07`..`draft18` — One module per supported MoQT draft, each
//! enabled via the matching `draftNN` feature flag.
/// Transport abstraction (QUIC, with WebTransport planned). Shared across drafts.
/// Multi-draft entry-point types ([`AnyConnection`](dispatch::AnyConnection),
/// [`AnyClientEvent`](dispatch::AnyClientEvent),
/// [`AnyConnectionObserver`](dispatch::AnyConnectionObserver)) for downstream
/// consumers that need to hold a connection without compile-time coupling to
/// one draft.