patinas-adapters-quic
Transports implementing TransportPort.
- Features:
inproc(default) — in-memory transport for tests/devudp-net— lightweight UDP mock across processesquinn-net— QUIC over network (preview)quic-qlog— optional: qlog capture scaffolding (writes .qlog files when enabled)
- Metrics: expose via SDK/apps (e.g.,
patinas_quic_rtt_ms,patinas_bytes_in_flight,patinas_send_queue_depth) - Stability: Inproc/UDP Stable; QUIC Preview
Tests:
cargo test -p patinas-adapters-quic
# QUIC loopback (Linux):
cargo test -p patinas-adapters-quic --features quinn-net -- --nocapture
QUIC address format:
quic://host:port— default uses uni-streams per streamquic://host:port?mode=datagram— use QUIC datagrams for payloads- Any other
mode=value is treated as the default (uni-streams). quic://host:port?qlog=on— force-enable qlog when built withquic-qlogquic://host:port?qlog_dir=/path— write qlog files under /path
Notes:
- The server accepts both uni-streams and datagrams concurrently.
- Query parameters are stripped for socket binding and DNS resolution.
- qlog may include identifiers/timing; enable only in controlled environments.