https://github.com/nix-community/crate2nix
rebuild only changed crates in CI with crate2nix and nix
https://github.com/nix-community/crate2nix
cache cargo ci nix nixos rust
Last synced: 5 months ago
JSON representation
rebuild only changed crates in CI with crate2nix and nix
- Host: GitHub
- URL: https://github.com/nix-community/crate2nix
- Owner: nix-community
- License: apache-2.0
- Created: 2019-03-24T22:00:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T13:09:45.000Z (5 months ago)
- Last Synced: 2025-05-12T23:29:46.541Z (5 months ago)
- Topics: cache, cargo, ci, nix, nixos, rust
- Language: Nix
- Homepage: https://nix-community.github.io/crate2nix/
- Size: 2.72 MB
- Stars: 416
- Watchers: 12
- Forks: 96
- Open Issues: 116
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-starred - nix-community/crate2nix - rebuild only changed crates in CI with crate2nix and nix (Nix)
- awesome-starred - nix-community/crate2nix - rebuild only changed crates in CI with crate2nix and nix (Nix)
- best-of-nix - GitHub - 45% open · ⏱️ 13.02.2025) (Programming Languages)
README
# crate2nix
`crate2nix` builds your [cargo](https://crates.io/)-based [rust](https://www.rust-lang.org/) project
crate-by-crate with [nix](https://nixos.org/nix/).You can
* save time by only rebuilding changed crates hermetically in CI, and
* use `cargo`/`rust-analyzer` locally for a fast developing loop.➡️ [Read more](https://nix-community.github.io/crate2nix/) ⬅️
[](https://github.com/nix-community/crate2nix/actions/workflows/tests-nix-linux.yml)
[](https://github.com/nix-community/crate2nix/actions/workflows/tests-nix-macos.yml)
[](https://crates.io/crates/crate2nix)