Decision Workspace
zod_gen vs zod_gen_derive vs zod-rs-ts
Side-by-side comparison of Rust crates
62
zod_gen
growingv1.3.0
Generate Zod schemas and TypeScript types from Rust types. Use with zod_gen_derive for automatic #[derive(ZodSchema)] support and serde rename compatibility.
58
zod_gen_derive
growingv1.3.0
Derive macro for zod_gen - automatically generate Zod schemas from Rust types with serde rename support
46
zod-rs-ts
experimentalv0.4.0
TypeScript Zod schema generator for zod-rs
Core Metrics
| zod_gen | zod_gen_derive | zod-rs-ts | |
|---|---|---|---|
| Health Score | 62 | 58 | 46 |
| Total Downloads | 16.2K | 12.4K | 46 |
| 30d Downloads | 188 | 159 | 19 |
| Dependents | 11 | 0 | 1 |
| Releases | 23 | 11 | 1 |
| Last Updated | 37d ago | 37d ago | 69d ago |
| Age | 8m | 8m | 2m |
Health Breakdown
zod_gen
Maintenance
17
Quality
18
Community
9
Popularity
5
Documentation
13
zod_gen_derive
Maintenance
17
Quality
17
Community
6
Popularity
5
Documentation
13
zod-rs-ts
Maintenance
9
Quality
15
Community
7
Popularity
2
Documentation
13
Technical Details
| zod_gen | zod_gen_derive | zod-rs-ts | |
|---|---|---|---|
| Version | 1.3.0 | 1.3.0 | 0.4.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 6 |
| Crate Size | 5KB | 9KB | 15KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •zod_gen leads with a health score of 62/100, but none of the options score above 80.
- •zod-rs-ts is pre-1.0 — API may change.