Skip to content

Repository Guide

André Borchert edited this page Aug 11, 2026 · 15 revisions

Repository Guide

Source layout

Path Ownership
Package.swift Public repository-root SwiftPM package.
Swift/Package.swift Extended package used by smoke tools and helper scripts.
Swift/Sources/WebTransport/ High-level public API and DocC catalog.
Swift/Sources/WebTransportNetworkRuntime/ Network.framework runtime, trust, endpoints, and session lifecycle.
Swift/Sources/WebTransportHTTP3Core/ HTTP/3, QPACK, WebTransport sessions, streams, datagrams, capsules, and flow control.
Swift/Sources/WebTransportQUICCore/ QUIC codecs and state primitives.
Swift/Sources/WebTransportTLSCore/ TLS 1.3 messages, key schedule, and QUIC handshake state.
Swift/Sources/WebTransportCryptoApple/ Apple-backed QUIC key and packet-protection helpers.
Swift/Sources/WebTransportUDPApple/ Darwin loopback UDP helper.
Swift/Sources/WebTransportCLIConformance/ Shared client/server scenario harness.
Swift/Sources/WebTransportClient/, WebTransportServer/ Executable entry points.
Swift/Tests/ Public API, runtime, protocol, crypto, UDP, process, and stress tests.
Swift/*.sh API compatibility, release, and interoperability workflows.
.github/workflows/swift-ci.yml Build, DocC, API, release, test, and conformance CI.
C99/, CPP/ Planned future ports; no working protocol implementation.

Choose the owning module

Change Start in Validate with
Application-facing API WebTransport and DocC WebTransportTests, API compatibility script
Client/server commands CLI entry point and WebTransportCLIConformance Process tests and both scenario suites
Runtime, endpoints, trust WebTransportNetworkRuntime Runtime and public API tests, packet loopback
HTTP/3, QPACK, sessions WebTransportHTTP3Core HTTP3Core tests and relevant scenarios
QUIC primitives WebTransportQUICCore QUICCore tests
TLS or packet crypto WebTransportTLSCore, WebTransportCryptoApple Matching tests plus an integration path
UDP support WebTransportUDPApple UDP and IPv4/IPv6 loopback tests
Release or interop Swift/*.sh, CI workflow Relevant script and CI

Package manifests

The two manifests intentionally expose different product sets. Keep shared target paths and dependencies synchronized, but preserve the nested package's smoke executables and test-support targets.

Generated output

Do not commit generated content under .build/, Swift/.build/, .webtransport-cli-logs/, C99/out/, or CPP/out/. The planned-port out/ directories contain tracked README and ignore files; generated children remain local.

Change discipline

Read the owning source, nearest tests, manifests, CI, and affected documentation before editing. Keep public API, protocol behavior, trust rules, logging guarantees, and release claims synchronized with runnable code and current evidence.

Clone this wiki locally