Hive
Add Rust graph toolchain support
GitHub issue · Closed
Source
tuist/once #104
Updated
Jun 24, 2026
Domains
Once
Summary
- Adds Rust graph rules for Cargo-backed dependency sets, first-party libraries and binaries, resolved crates, and proc macros.
- Makes
Cargo.tomlandCargo.lockthe source of truth: the rootcargo_dependenciestarget runscargo metadata --lockedand reconciles resolved external packages into cacheable Once Rust actions. - Updates Once workspace manifests so first-party Rust targets depend on the cacheable Cargo dependency target and use
CARGO_PKG_NAMEorcargo_packageto consume Cargo’s direct external deps. - Removes the generated third-party Once manifest and the separate
once query depsresolver surface.
Testing
mise exec -- cargo fmt --all -- --checkmise exec -- cargo test -p once-frontendmise exec -- cargo test -p once-climise exec -- cargo build -p once-climise exec -- cargo build -p once-cli --target x86_64-apple-darwinmise exec -- target/debug/once --format json query schema cargo_dependenciesmise exec -- target/debug/once --format json query targets --kind cargo_dependenciesmise exec -- target/debug/once --format json -C /tmp/once-once-smoke build crates/once-cli/once- Verified the Once-built arm64 binary and the x86_64 macOS binary both report
once 0.0.0.
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
New Flights are paused
Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet
Start a Flight and preserve its objective, outcome, and session here.
No GitHub comments yet.