cargo2nix
Installation
SKILL.md
cargo2nix Skill
Expert guidance for packaging Rust applications with Nix Granular per-crate builds with reproducible, cacheable dependencies
Overview
cargo2nix is a tool that brings Nix dependency management to Rust projects, enabling reproducible builds, efficient per-crate caching, and complete control over the build environment. Unlike simpler approaches, cargo2nix creates individual Nix derivations for each crate, allowing fine-grained dependency sharing across projects and optimal build caching.
Key Features: