Install • Quick Start • Commands • Results • GitHub Action 11 dependencies. One config file. Optionally, install via the pre-built binaries or cargo binstall cargo-rail Demo using ripgrep codebase. cargo rail unify on ripgrep — 9 deps unified, 6 dead features pruned Graph-aware change detection. Only test what's affected: CI Integration: Dependency unification based on Cargo's resolved output: What it does: Multi-target aware: runs cargo metadata per target triple in parallel, computes feature intersections not unions. Extract crates with full git history. Bidirectional sync with 3-way conflict resolution: Three modes: Safety: refuses dirty worktree by default. --allow-dirty to override, --yes for CI. Dependency-order publishing with changelog generation: Safety: detects default branch, refuses detached HEAD, warns on non-default branch. Manage configuration: Generated by cargo rail init at .config/rail.toml : Full reference: docs/config.md Tested on production workspaces: Demo recordings: examples/ Create a branch. Run --check first. Review the diff. This touches your entire workspace. Full guide: docs/migrate-hakari.md Resolution-based — Uses Cargo's actual resolver output, not syntax parsing. If Cargo resolves it, cargo-rail sees it. Multi-target — Runs cargo metadata --filter-platform per target in parallel. Computes feature intersections, not unions, w/ guardrails where it counts. System git — Uses your git binary directly. No libgit2, no gitoxide. Deterministic SHAs. Lossless TOML — Preserves comments and formatting via toml_edit . Minimal deps — 11 direct dependencies. Built the release workflow specifically to avoid 200+ dep toolchains. cargo-hakari creates a workspace-hack crate. cargo-rail writes unified versions directly to [workspace.dependencies] — no extra crate. Enable pin_transitives = true for equivalent behavior w/o the added CI check and lockfile steps. For pure Rust workspaces, yes... it can. cargo-rail provides graph-aware testing, dependency un...
First seen: 2025-12-14 13:54
Last seen: 2025-12-14 20:55