# proto — the canonical tool/version manager for this repo (replaces `.mise.toml [tools]`).
#
# Versions here are the ones that were ACTUALLY RESOLVED on 2026-07-30, not aspirational newer ones:
# the point of the cut-over is that behaviour does not change, so every pin below was read off the
# working toolchain with `--version` rather than chosen. `node` and `uv` were `latest`/unpinned under
# mise and are now concrete, which is a strict improvement — an unpinned toolchain is how this repo
# ended up with four byte-exact oracle guards silently red for months (#677), and how a clippy lint
# appeared in a passing pre-push hook with no commit touching the file it flagged.
#
# Install everything on a fresh machine with:  proto use
#
# NOT MANAGED HERE — the six cargo-installed binaries (cargo-nextest, cargo-deny, cargo-outdated,
# flamegraph, maturin, cargo-zigbuild). proto has no cargo backend (`proto plugin search cargo`
# returns nothing), so they are pinned in `rust-tools.toml` and installed by `moon run :rust-tools-sync`.

python = "3.14"
node = "25.8.0"
uv = "0.11.28"

# rust is DELIBERATELY ABSENT. `rust-toolchain.toml` is rustup's own file and wins for cargo/rustc no
# matter what any version manager declares, so a `rust = ...` line here would be a second, non-binding
# answer to the same question — a half-truth that reads as authoritative. An earlier draft of this file
# did exactly that: it claimed rust = "1.97.0" as a version "read off the working toolchain" when the
# toolchain was in fact 1.94.1, and nothing enforced or contradicted it. Bump the rustup file instead.

# zig is required by `release:linux` (cargo-zigbuild cross-compiles the Linux x86_64 wheel from macOS
# without a remote host). proto ships no first-party zig plugin, so this is a third-party WASM plugin.
# That is a real supply-chain dependency on a community repo and is called out in deploy/CLAUDE.md;
# if it ever becomes unacceptable, zig is the one tool that should move back to a system install.
zig = "0.13.0"

[plugins]
zig = "github://konomae/zig-plugin"
