Decision Workspace
use-package-json vs package_json_schema vs sort-package-json
Side-by-side comparison of Rust crates
47
use-package-json
experimentalv0.0.1
package.json metadata primitives for RustUse
52
package_json_schema
growingv0.3.0
Parse content from `package.json` content and consume the result as a `PackageJson` struct.
59
sort-package-json
growingv1.0.0
Sort package.json files according to established npm conventions
Core Metrics
| use-package-json | package_json_schema | sort-package-json | |
|---|---|---|---|
| Health Score | 47 | 52 | 59 |
| Total Downloads | 157 | 1.3M | 437.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 55 | 3 |
| Releases | 1 | 7 | 16 |
| Last Updated | 137d ago | 574d ago | 54d ago |
| Age | 4m | 4y 2m | 10m |
Health Breakdown
use-package-json
Maintenance
6
Quality
16
Community
7
Popularity
3
Documentation
15
package_json_schema
Maintenance
5
Quality
14
Community
11
Popularity
7
Documentation
15
sort-package-json
Maintenance
16
Quality
17
Community
7
Popularity
7
Documentation
12
Technical Details
| use-package-json | package_json_schema | sort-package-json | |
|---|---|---|---|
| Version | 0.0.1 | 0.3.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Unlicense | MIT |
| Dependencies | 1 | 12 | 5 |
| Crate Size | 5KB | 10KB | 24KB |
| Features | 2 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.95.0 | 1.72 | 1.76 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sort-package-json leads with a health score of 59/100, but none of the options score above 80.
- •package_json_schema has the most downloads (1.3M), suggesting wider adoption.
- •⚠ package_json_schema has not been updated in over a year.
- •use-package-json, package_json_schema are pre-1.0 — API may change.