Vendored dependencies
All third-party code is vendored in this directory, so the project builds from
a plain clone or ZIP download with no submodules and no network access. The
authoritative list - path, upstream URL, pinned commit and a marker file - is
deps.txt.
| Library | Purpose | Pinned commit | Upstream |
|---|---|---|---|
| Luau | Roblox-flavoured Lua VM used by rbx_runtime |
74f7683 (0.741-8) |
https://github.com/luau-lang/luau |
| doctest | header-only C++ test framework | 1da23a3 (v2.4.12) |
https://github.com/doctest/doctest |
| ngtcp2 | QUIC/HTTP3 for the archived rbxwebtransport path (opt-in) |
b9fc4d5 (v1.25.0-96) |
https://github.com/ngtcp2/ngtcp2 |
Luau's own extern/isocline and extern/fzy sources are part of the Luau
tree and are vendored with it. ngtcp2's third-party/http-parser and
third-party/urlparse are likewise vendored with ngtcp2.
Verifying
./tools/update-deps.sh --check
This confirms every vendored tree is present and prints the pinned commit for each. It does not touch the network.
Updating a dependency
- Bump the commit in
deps.txtand the table above. - Re-vendor it:
sh
./tools/update-deps.sh --bump third_party/luau
That clones the upstream at the pinned commit, replaces the directory, and
strips the nested .git.
3. Rebuild and run the full battery:
sh
./build.sh --test
Do not hand-edit vendored sources; changes belong upstream or in our own
client/ / rbx_runtime/ code.
Why vendored, not submodules
A git submodule checkout is an extra step that fails quietly for ZIP
downloads and for anyone without network access at build time. Vendoring makes
git clone and "Download ZIP" behave identically, and keeps the build
hermetic. The trade-off is a larger repository; deps.txt makes the pinned
versions explicit so updates are still a one-line change plus a script run.