Decision Workspace
cmakefmt-rust vs defmt vs dprint-plugin-json
Side-by-side comparison of Rust crates
59
cmakefmt-rust
growingv2.1.0
A fast, correct CMake formatter
68
defmt
stablev1.1.1
A highly efficient logging framework that targets resource-constrained devices, like microcontrollers
62
dprint-plugin-json
growingv0.25.2
JSON formatter for dprint.
Core Metrics
| cmakefmt-rust | defmt | dprint-plugin-json | |
|---|---|---|---|
| Health Score | 59 | 68 | 62 |
| Total Downloads | 1.0K | 63.5M | 889.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5.9K | 350 |
| Releases | 23 | 29 | 46 |
| Last Updated | 4d ago | 98d ago | 5d ago |
| Age | 6m | 6y 1m | 5y 8m |
Health Breakdown
cmakefmt-rust
Maintenance
19
Quality
15
Community
6
Popularity
4
Documentation
15
defmt
Maintenance
13
Quality
17
Community
20
Popularity
8
Documentation
10
dprint-plugin-json
Maintenance
20
Quality
15
Community
10
Popularity
7
Documentation
10
Technical Details
| cmakefmt-rust | defmt | dprint-plugin-json | |
|---|---|---|---|
| Version | 2.1.0 | 1.1.1 | 0.25.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 34 | 4 | 10 |
| Crate Size | 179KB | 34KB | 55KB |
| Features | 5 | 6 | 2 |
| Yanked % | 0.0% | 17.2% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.88 | — | — |
| Owners | 1 | 4 (team) | 1 |
Links
Quick Verdict
- •defmt leads with a health score of 68/100, but none of the options score above 80.
- •defmt is depended on by 5.9K crates — strongest ecosystem trust.
- •dprint-plugin-json is pre-1.0 — API may change.