Decision Workspace
mustang-macro vs json_typegen vs structr
Side-by-side comparison of Rust crates
44
mustang-macro
experimentalv0.5.0
Go-style json struct tags for Rust and Serde.
41
json_typegen
growingv0.7.0
Procedural macro that generates Rust types from JSON samples
37
structr
growingv0.1.0
Generate Rust structs from JSON data with framework integrations
Core Metrics
| mustang-macro | json_typegen | structr | |
|---|---|---|---|
| Health Score | 44 | 41 | 37 |
| Total Downloads | 94 | 36.5K | 753 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 12 | 1 |
| Last Updated | 56d ago | 1849d ago | 552d ago |
| Age | 2m | 9y 5m | 1y 6m |
Health Breakdown
mustang-macro
Maintenance
13
Quality
13
Community
6
Popularity
2
Documentation
10
json_typegen
Maintenance
5
Quality
14
Community
5
Popularity
5
Documentation
12
structr
Maintenance
1
Quality
14
Community
6
Popularity
3
Documentation
13
Technical Details
| mustang-macro | json_typegen | structr | |
|---|---|---|---|
| Version | 0.5.0 | 0.7.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 6 | 4 | 6 |
| Crate Size | 8KB | 3KB | 14KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mustang-macro leads with a health score of 44/100, but none of the options score above 80.
- •json_typegen has the most downloads (36.5K), suggesting wider adoption.
- •⚠ json_typegen, structr have not been updated in over a year.