{"id":48749316,"url":"https://github.com/ch4r10t33r/zquic","last_synced_at":"2026-06-15T01:01:58.060Z","repository":{"id":349539232,"uuid":"1202753750","full_name":"ch4r10t33r/zquic","owner":"ch4r10t33r","description":"A pure Zig implementation of the QUIC transport protocol.","archived":false,"fork":false,"pushed_at":"2026-06-11T17:50:59.000Z","size":1362,"stargazers_count":13,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-11T19:23:48.158Z","etag":null,"topics":["embedded-friendly","http3","networking","no-libc","qpack","quic","quic-protocol","rfc9000","tls13","transport-protocol","udp","zero-dependencies","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ch4r10t33r.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-06T11:11:55.000Z","updated_at":"2026-06-11T17:51:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ch4r10t33r/zquic","commit_stats":null,"previous_names":["ch4r10t33r/zquic"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/ch4r10t33r/zquic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4r10t33r%2Fzquic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4r10t33r%2Fzquic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4r10t33r%2Fzquic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4r10t33r%2Fzquic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ch4r10t33r","download_url":"https://codeload.github.com/ch4r10t33r/zquic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ch4r10t33r%2Fzquic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34343312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded-friendly","http3","networking","no-libc","qpack","quic","quic-protocol","rfc9000","tls13","transport-protocol","udp","zero-dependencies","zig","ziglang"],"created_at":"2026-04-12T16:15:58.222Z","updated_at":"2026-06-15T01:01:58.023Z","avatar_url":"https://github.com/ch4r10t33r.png","language":"Zig","funding_links":[],"categories":["Network \u0026 Web"],"sub_categories":["Network"],"readme":"# zquic\n\nPure-Zig QUIC (RFC 9000 / 9001 / 9002), TLS 1.3, HTTP/3, and QPACK. Current release: **[v1.6.10](https://github.com/ch4r10t33r/zquic/releases/tag/v1.6.10)**.\n\n[![CI](https://github.com/ch4r10t33r/zquic/actions/workflows/ci.yml/badge.svg)](https://github.com/ch4r10t33r/zquic/actions/workflows/ci.yml)\n\n## Requirements\n\n- Zig **0.16.x**\n\n## Quick start\n\n```sh\nzig build                 # library + server/client binaries\nzig build test            # unit tests\nzig build examples        # example programs\n```\n\nImport as a package dependency (`build.zig.zon`):\n\n```zig\n.zquic = .{\n    .url = \"git+https://github.com/ch4r10t33r/zquic.git?ref=v1.6.10#3f8c8669758bbe57da72017b5db5fd30863e8369\",\n    .hash = \"zquic-1.6.10-2zRc1Il1EwC1WAXVszicLjgivbbHOM8b0yQgvdNYwEyb\",\n},\n```\n\nSee [CHANGELOG.md](CHANGELOG.md) for release notes. Tags publish Linux amd64 binaries via `.github/workflows/release.yml`.\n\n## Protocol coverage\n\n| RFC | Title | Status |\n|-----|-------|--------|\n| [RFC 9000](https://www.rfc-editor.org/rfc/rfc9000) | QUIC transport | ✅ |\n| [RFC 9001](https://www.rfc-editor.org/rfc/rfc9001) | TLS for QUIC | ✅ |\n| [RFC 9002](https://www.rfc-editor.org/rfc/rfc9002) | Loss detection \u0026 congestion control | ✅ |\n| [RFC 9114](https://www.rfc-editor.org/rfc/rfc9114) | HTTP/3 | ✅ |\n| [RFC 9204](https://www.rfc-editor.org/rfc/rfc9204) | QPACK | ✅ |\n| [RFC 9369](https://www.rfc-editor.org/rfc/rfc9369) | QUIC v2 | ✅ |\n\nAll standard QUIC frame types, flow control, migration, key update, 0-RTT/resumption, ECN, and connection IDs are implemented. DPLPMTUD probing lives in `src/transport/path_mtu.zig`.\n\n## Interop\n\n**zquic ↔ zquic:** all 13 [quic-interop-runner](https://github.com/quic-interop/quic-interop-runner) cases pass on CI (`handshake`, `transfer`, `retry`, `chacha20`, `keyupdate`, `resumption`, `zerortt`, `http3`, `connectionmigration`, `multiplexing`, `v2`, `ecn`, `rebind-port`).\n\n**Cross-impl (quinn, etc.):** handshake and transfer smoke runs on every PR; the full matrix runs nightly via `.github/workflows/interop-cross-impl.yml`. Recent work (#162) fixed quinn→zquic HTTP/0.9 multiplexing under paced congestion control.\n\nLocal interop:\n\n```sh\nzig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu\ndocker build -t zquic:interop -f interop/Dockerfile.prebuilt .\n# then run quic-interop-runner against zquic:interop\n```\n\n## Embedder API\n\nThe stack is built for [quic-interop-runner](https://github.com/quic-interop/quic-interop-runner) HTTP/0.9/HTTP/3, but the same TLS + QUIC core is reusable for custom ALPN and opaque stream I/O (e.g. [zig-libp2p](https://github.com/ch4r10t33r/zig-libp2p)).\n\n| Need | API |\n|------|-----|\n| Custom ALPN | `ServerConfig.alpn` / `ClientConfig.alpn` |\n| Opaque STREAM bytes | `raw_application_streams = true` on both sides; `RawAppStreamSlot` in `raw_app_stream.zig` |\n| External UDP loop | `Server.feedPacket`, `Client.feedPacket`, `processPendingWork` |\n| Pre-bound socket | `Server.initFromSocket`, `Client.initFromSocket` |\n| Heap-allocated client | `Client.initInPlace` (avoids stack-sized return copies in downstream callers) |\n| Open/send on streams | `rawAllocateNextLocal*Stream`, `sendRawStreamData` |\n| In-memory TLS certs | `cert_pem` / `key_pem` / `client_cert_pem` / `client_key_pem` on config structs (#129) |\n\nDemo `Endpoint` / interop `Server` use small fixed connection arrays (`max_connections` 8 / `MAX_CONNECTIONS` 16) to stay stack-friendly in tests. Production embedders should heap-size their own connection tables via `initFromSocket` + `feedPacket`.\n\n## Layout\n\n```\nsrc/\n  transport/io.zig          Server + client event loop, HTTP/0.9 + HTTP/3\n  transport/raw_app_stream.zig   Opaque STREAM reassembly for embedders\n  transport/path_mtu.zig    Path MTU limits + DPLPMTUD\n  crypto/                   AEAD, keys, QUIC-TLS adapter, session tickets\n  loss/                     RTT, loss detection, New Reno (+ CUBIC option)\n  http3/  http09/           HTTP layers\n  packet/  frames/          Wire codecs\nvendor/tls/                 Vendored ianic/tls.zig (Zig 0.16)\ninterop/                    quic-interop-runner Docker entrypoint\nexamples/                   Small standalone demos\nbench/                      Loopback throughput vs quiche/ngtcp2\n```\n\nVarint encoding is re-exported from the shared [`zig-varint`](https://github.com/ch4r10t33r/zig-varint) package.\n\n## Platform notes\n\n- **Linux:** statically linked release binaries; syscalls via `std.os.linux`, no OpenSSL/quictls.\n- **macOS:** links `libSystem` (required for supported syscalls and code signing); source remains pure Zig.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fch4r10t33r%2Fzquic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fch4r10t33r%2Fzquic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fch4r10t33r%2Fzquic/lists"}