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
# zttp
# show available commands
default:
@just --list
# format code
fmt:
zig fmt build.zig build.zig.zon src scripts examples tests/conformance
# check formatting (CI)
check:
zig fmt --check build.zig build.zig.zon src scripts examples tests/conformance
# run tests
test:
zig build test --summary all -freference-trace
# hit real origins: tls, gzip, redirects, a blackholed peer
smoke:
zig build smoke
# real local TLS certificate rotation and concurrent requests
test-tls:
python3 scripts/test_tls_clock.py
# prepare the isolated qualification toolchain
conformance-tools:
docker build -f tests/conformance/Dockerfile -t zttp-conformance-tools:0.17.0 .
# strict HTTP wire and runtime contracts; no external network during tests
conformance *args:
uv run --no-project --python python3 --no-python-downloads scripts/test_conformance.py {{args}}