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
//! NOMAD Protocol - Extensions
//!
//! Implements protocol extensions for enhanced functionality beyond the core sync.
//!
//! ## Core Extensions
//!
//! | ID | Module | Description |
//! |--------|-----------------|--------------------------------------------------|
//! | 0x0001 | `compression` | zstd payload compression |
//! | 0x0002 | `priority` | Update priority levels (critical → background) |
//! | 0x0003 | `batching` | Combine multiple updates into single frame |
//! | 0x0004 | `rate_hints` | Server hints for acceptable update frequency |
//! | 0x0005 | `selective_sync`| Subscribe to specific state regions |
//! | 0x0006 | `checkpoint` | Full state snapshots for recovery/initial sync |
//! | 0x0007 | `metadata` | Timestamps, user IDs, causality tracking |
//!
//! ## Extension Negotiation
//!
//! Extensions are negotiated during handshake using TLV (Type-Length-Value) format.
//! See [`negotiation`] module for details.
//!
//! ## Reserved Ranges
//!
//! - `0x0001-0x00FF`: Core protocol extensions
//! - `0x0100-0x0FFF`: Application-specific extensions
//! - `0xF000-0xFFFF`: Experimental/private extensions
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;