harbor-rs

Reusable Rust toolchain and cross-compilation infrastructure for Nix flakes.

Toolchains, cross targets, generated Cargo config, and packaging helpers live here instead of in every Rust workspace.

mkToolchain

Nightly or stable Rust toolchains with crane already wired in. Optional fleet profiles pin versions centrally.

mkCross / mkCrossPackages

Native, MinGW, aarch64-linux, and optional osxcross environments from one library.

mkCargoConfig

Emit linker and compiler settings once, then serve them from a cache-keyed CARGO_HOME.

Packaging

AppImage, Flatpak, Homebrew, deb, Scoop, Chocolatey, Dioxus web/fullstack, and signed GitHub archives.

Add it

The full API, templates, and packaging notes live in the dedicated harbor-rs docs.

Open full install guide