harbor-rs
harbor-rs is reusable Rust cross-compilation and toolchain infrastructure for Nix flakes. It packages the common setup needed for Rust workspaces that target Linux, Windows, and macOS without forcing each project to rebuild the same Nix plumbing.
The library exposes:
mkToolchainfor Rust toolchains withcranemkCargoConfigfor generated.cargo/config.tomlmkCrossfor MinGW and optional osxcross environmentsmkDevShellandmkDevShellsfor consistent development shellsmkGpuRenderPinfor GPU/driver identity checks in visual snapshot testsmkAppImageandmkFlatpakManifestfor packaging outputsmkAdapterandmkAtticPushfor binary cache integration
Start with Installation if you want to consume the flake in another project, or jump to Quick Start for a minimal cross-compiling shell.
Source repository: https://github.com/caniko/harbor-rs