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