Decision Workspace
nixfmt_rs vs knixl-nix vs sui-fmt
Side-by-side comparison of Rust crates
53
nixfmt_rs
experimentalv0.5.3
Rust implementation of nixfmt with exact Haskell compatibility
52
knixl-nix
experimentalv1.6.0
nixfmt invocation and content hashing for knixl.
48
sui-fmt
experimentalv0.1.219
Deterministic Nix formatter over rnix's lossless CST — RFC 166 (nixfmt --strict) as the canonical form
Core Metrics
| nixfmt_rs | knixl-nix | sui-fmt | |
|---|---|---|---|
| Health Score | 53 | 52 | 48 |
| Total Downloads | 1.0K | 344 | 634 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 33 | 0 |
| Releases | 12 | 11 | 39 |
| Last Updated | 39d ago | 9d ago | 51d ago |
| Age | 5m | 2m | 1m |
Health Breakdown
nixfmt_rs
Maintenance
17
Quality
14
Community
6
Popularity
4
Documentation
12
knixl-nix
Maintenance
12
Quality
16
Community
9
Popularity
3
Documentation
12
sui-fmt
Maintenance
14
Quality
14
Community
5
Popularity
3
Documentation
12
Technical Details
| nixfmt_rs | knixl-nix | sui-fmt | |
|---|---|---|---|
| Version | 0.5.3 | 1.6.0 | 0.1.219 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MPL-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 10 | 4 | 2 |
| Crate Size | 179KB | 22KB | 31KB |
| Features | 5 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.87 | 1.87 | 1.89.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nixfmt_rs leads with a health score of 53/100, but none of the options score above 80.
- •nixfmt_rs, sui-fmt are pre-1.0 — API may change.