Decision Workspace
pctx_codegen vs zod_gen vs lazy-js-bundle
Side-by-side comparison of Rust crates
52
pctx_codegen
experimentalv0.3.0
Code generation utilities for pctx
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.
62
lazy-js-bundle
growingv0.7.9
A codegen library to bundle TypeScript into JavaScript without requiring a bundler to be installed
Core Metrics
| pctx_codegen | zod_gen | lazy-js-bundle | |
|---|---|---|---|
| Health Score | 52 | 63 | 62 |
| Total Downloads | 231.8K | 17.1K | 1.4M |
| 30d Downloads | 37.2K | 0 | 232.9K |
| Dependents | 8 | 12 | 164 |
| Releases | 4 | 24 | 27 |
| Last Updated | 122d ago | 14d ago | 55d ago |
| Age | 6m | 11m | 1y 11m |
Health Breakdown
pctx_codegen
Maintenance
15
Quality
11
Community
10
Popularity
6
Documentation
10
zod_gen
Maintenance
18
Quality
18
Community
9
Popularity
5
Documentation
13
lazy-js-bundle
Maintenance
17
Quality
16
Community
9
Popularity
7
Documentation
13
Technical Details
| pctx_codegen | zod_gen | lazy-js-bundle | |
|---|---|---|---|
| Version | 0.3.0 | 1.4.0 | 0.7.9 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 17 | 2 | 0 |
| Crate Size | 27KB | 5KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •zod_gen leads with a health score of 63/100, but none of the options score above 80.
- •lazy-js-bundle has the most downloads (1.4M), suggesting wider adoption.
- •lazy-js-bundle is depended on by 164 crates — strongest ecosystem trust.
- •pctx_codegen, lazy-js-bundle are pre-1.0 — API may change.