Decision Workspace
nornir-workspace vs nornir-config vs cargo-fmt-toml
Side-by-side comparison of Rust crates
The `nornir-workspace.toml` multi-repo descriptor: parse a workspace of independent repos (path / git / fat-both members) and resolve every member to a concrete on-disk checkout, auto-materializing missing `git` members via the pure-Rust `nornir-git` transport (SSH via russh, no shell-out; `NORNIR_OFFLINE` for the airgap path). Pure parse + repo-source resolve — NO warehouse, NO Iceberg. Extracted out of nornir/src/workspace so dwarves can consume it FAT without inverting edda->nornir into a cycle; nornir re-exports it verbatim under `nornir::workspace`.
The nornir.toml loader + the $HOME-derived data-root rule for the nordisk constellation. Owns the `[repo]`/`[guard]`/`[storage]`/`[registry]` config schema, the workspace-root discovery walk (`discover`/`load_explicit`), and the ONE home-derived data-root derivation (`<home>/.nornir` → registry/warehouse/funnel roots) shared by nornir AND dwarves. Extracted out of nornir/src/config.rs so dwarves can consume it FAT without a nornir->dwarves cycle; nornir re-exports it verbatim under `nornir::config`.
Cargo subcommand to format and normalize Cargo.toml layout (section order, sorted dep keys, TOML shape)
Core Metrics
| nornir-workspace | nornir-config | cargo-fmt-toml | |
|---|---|---|---|
| Health Score | 48 | 54 | 53 |
| Total Downloads | 114 | 133 | 2.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 8 | 0 |
| Releases | 4 | 4 | 13 |
| Last Updated | 5d ago | 5d ago | 56d ago |
| Age | 2m | 2m | 9m |
Health Breakdown
Technical Details
| nornir-workspace | nornir-config | cargo-fmt-toml | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.0.18 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 6 | 10 |
| Crate Size | 41KB | 50KB | 61KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | 1.94.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nornir-config leads with a health score of 54/100, but none of the options score above 80.
- •cargo-fmt-toml has the most downloads (2.7K), suggesting wider adoption.