Decision Workspace
ts-typegen-build vs ts-typegen vs tyzen
Side-by-side comparison of Rust crates
51
ts-typegen-build
experimentalv1.2.0
Build script that scans Rust sources and writes TypeScript type bindings for every #[derive(Ts)] struct and enum
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
47
tyzen
experimentalv0.2.4
A lightweight tool to generate TypeScript type definitions from Rust structs and enums.
Core Metrics
| ts-typegen-build | ts-typegen | tyzen | |
|---|---|---|---|
| Health Score | 51 | 54 | 47 |
| Total Downloads | 104 | 84 | 369 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 10 |
| Releases | 4 | 4 | 11 |
| Last Updated | 60d ago | 60d ago | 140d ago |
| Age | 2m | 2m | 5m |
Health Breakdown
ts-typegen-build
Maintenance
15
Quality
16
Community
6
Popularity
2
Documentation
12
ts-typegen
Maintenance
15
Quality
19
Community
6
Popularity
2
Documentation
12
tyzen
Maintenance
13
Quality
12
Community
9
Popularity
3
Documentation
10
Technical Details
| ts-typegen-build | ts-typegen | tyzen | |
|---|---|---|---|
| Version | 1.2.0 | 1.2.0 | 0.2.4 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 8 |
| Crate Size | 64KB | 12KB | 32KB |
| Features | 0 | 2 | 6 |
| Yanked % | 0.0% | 0.0% | 9.1% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | — |
| 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.
- •tyzen has the most downloads (369), suggesting wider adoption.
- •tyzen is pre-1.0 — API may change.