Decision Workspace
json-serde vs ts-typegen vs typespace
Side-by-side comparison of Rust crates
52
json-serde
experimentalv0.0.1-alpha.3
Runtime serde helpers for esoteric JSON semantics
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
45
typespace
experimentalv0.0.1-alpha.3
Model Rust types for code generation
Core Metrics
| json-serde | ts-typegen | typespace | |
|---|---|---|---|
| Health Score | 52 | 54 | 45 |
| Total Downloads | 4.4K | 84 | 192 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 0 | 2 |
| Releases | 3 | 4 | 3 |
| Last Updated | 22d ago | 60d ago | 5d ago |
| Age | 1m | 2m | 21d |
Health Breakdown
json-serde
Maintenance
13
Quality
15
Community
8
Popularity
4
Documentation
12
ts-typegen
Maintenance
15
Quality
19
Community
6
Popularity
2
Documentation
12
typespace
Maintenance
14
Quality
10
Community
6
Popularity
3
Documentation
12
Technical Details
| json-serde | ts-typegen | typespace | |
|---|---|---|---|
| Version | 0.0.1-alpha.3 | 1.2.0 | 0.0.1-alpha.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 7 | 3 | 19 |
| Crate Size | 15KB | 12KB | 160KB |
| Features | 3 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.97 | 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.
- •json-serde, typespace are pre-1.0 — API may change.