ipetkov/crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 30
- age_days: 1690
- days_rel: 12
- days_push: 12
- n_releases_24m: 20
Adoption not part of the score
1450 stars · 139 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Crane is a Nix library for building Cargo (Rust) projects with incremental artifact caching so dependencies are built only once. It provides composable, granular build, lint, test, and documentation steps plus automatic dependency vendoring from Cargo.lock.
Use cases
- build rust projects with nix flakes
- cache cargo dependencies so I never rebuild them
- run clippy and rustfmt checks in nix
- set up reproducible CI for a cargo workspace
- cross-compile rust to musl or wasm targets
- vendor cargo dependencies including git dependencies
- build a rust webapp with trunk using nix
When to choose
- you use Nix and want fast, incremental, reproducible Rust builds
- you want granular CI steps (lint, test, doc) without rebuilding dependencies
- you need cross-compilation or alternative crate registries in Nix
When to avoid
- you don't use Nix and just want a plain cargo build
- you need a simple one-command Rust build tool without a Nix dependency
- you require Nix versions below 2.31.2 or older nixpkgs channels
Facets
library · maturity active
build-tool developer-tools testing ci-cd developer-tools programming-languages cross-platform cli nix nix-flakes rust cargo reproducible-builds caching cross-compilation devops linux macos
4 sources
- readme: https://github.com/ipetkov/crane · fetched 2026-08-28 · 91dc9eaab65a
- homepage: https://crane.dev · fetched 2026-08-29 · 899fdba83954
- site_page: https://crane.dev/getting-started.html · fetched 2026-08-29 · a3a604ba7f1f
- site_page: https://crane.dev/CHANGELOG.html · fetched 2026-08-29 · b101df0b1106
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ipetkov/crane | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem