Development

Build

make build     # debug build
make release   # release build (LTO + strip, musl target)
make docker    # build Docker image

All available Make targets:

TargetDescription
buildDebug build via cargo build
runRun the binary via cargo run
releaseRelease build with LTO and symbol stripping
cleancargo clean
fmtFormat code with cargo fmt
lintLint with cargo clippy -- -D warnings
checkcargo check
dockerBuild release binary and playground Docker image
docker-minimalBuild release binary and minimal (scratch) Docker image
docsBuild mdbook + cargo doc into docs/book/
docs-serveServe docs locally with live reload

Architecture

The codebase is split into focused modules:

confighealthmainptysessionstatic_filesterminalwebws
confighealthmainptysessionstatic_filesterminalwebws
confighealthmainptysessionstatic_filesterminalwebws
confighealthmainptysessionstatic_filesterminalwebws
confighealthmainptysessionstatic_filesterminalwebws

Each module has doc-comments describing its responsibilities — see the API Reference for details.