Decision Workspace
facet-zod vs zod_gen vs zod_gen_derive
Side-by-side comparison of Rust crates
48
facet-zod
experimentalv0.46.5
Generate Zod schemas from Rust types via Facet reflection
63
zod_gen
growingv1.4.0
Generate Zod schemas and TypeScript types from Rust types. Use with zod_gen_derive for automatic #[derive(ZodSchema)] support and serde rename compatibility.
59
zod_gen_derive
growingv1.4.0
Derive macro for zod_gen - automatically generate Zod schemas from Rust types with serde rename support
Core Metrics
| facet-zod | zod_gen | zod_gen_derive | |
|---|---|---|---|
| Health Score | 48 | 63 | 59 |
| Total Downloads | 684 | 17.1K | 13.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 12 | 0 |
| Releases | 10 | 24 | 12 |
| Last Updated | 15d ago | 14d ago | 14d ago |
| Age | 1m | 11m | 11m |
Health Breakdown
facet-zod
Maintenance
13
Quality
14
Community
6
Popularity
3
Documentation
12
zod_gen
Maintenance
18
Quality
18
Community
9
Popularity
5
Documentation
13
zod_gen_derive
Maintenance
18
Quality
17
Community
6
Popularity
5
Documentation
13
Technical Details
| facet-zod | zod_gen | zod_gen_derive | |
|---|---|---|---|
| Version | 0.46.5 | 1.4.0 | 1.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 2 | 6 |
| Crate Size | 19KB | 5KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.90 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •zod_gen leads with a health score of 63/100, but none of the options score above 80.
- •facet-zod is pre-1.0 — API may change.