Decision Workspace
structr vs ts-typegen vs json-serde
Side-by-side comparison of Rust crates
37
structr
growingv0.1.0
Generate Rust structs from JSON data with framework integrations
54
ts-typegen
experimentalv1.2.0
Generate TypeScript types and interfaces from Rust structs and enums at build time, matching what serde puts on the wire
52
json-serde
experimentalv0.0.1-alpha.3
Runtime serde helpers for esoteric JSON semantics
Core Metrics
| structr | ts-typegen | json-serde | |
|---|---|---|---|
| Health Score | 37 | 54 | 52 |
| Total Downloads | 753 | 84 | 4.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 17 |
| Releases | 1 | 4 | 3 |
| Last Updated | 552d ago | 60d ago | 22d ago |
| Age | 1y 6m | 2m | 1m |
Health Breakdown
structr
Maintenance
1
Quality
14
Community
6
Popularity
3
Documentation
13
ts-typegen
Maintenance
15
Quality
19
Community
6
Popularity
2
Documentation
12
json-serde
Maintenance
13
Quality
15
Community
8
Popularity
4
Documentation
12
Technical Details
| structr | ts-typegen | json-serde | |
|---|---|---|---|
| Version | 0.1.0 | 1.2.0 | 0.0.1-alpha.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 6 | 3 | 7 |
| Crate Size | 14KB | 12KB | 15KB |
| Features | 0 | 2 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.97 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ts-typegen leads with a health score of 54/100, but none of the options score above 80.
- •json-serde has the most downloads (4.4K), suggesting wider adoption.
- •⚠ structr has not been updated in over a year.
- •structr, json-serde are pre-1.0 — API may change.