Decision Workspace
schemars vs schemars_derive vs oxc-schemars
Side-by-side comparison of Rust crates
69
schemars
stablev1.2.1
Generate JSON Schemas from Rust code
66
schemars_derive
stablev1.2.1
Macros for #[derive(JsonSchema)], for use with schemars
58
oxc-schemars
experimentalv0.8.27
Generate JSON Schemas from Rust code
Core Metrics
| schemars | schemars_derive | oxc-schemars | |
|---|---|---|---|
| Health Score | 69 | 66 | 58 |
| Total Downloads | 201.5M | 112.8M | 108.0K |
| 30d Downloads | 29.0M | 11.8M | 15.3K |
| Dependents | 39.8K | 155 | 77 |
| Releases | 96 | 92 | 6 |
| Last Updated | 54d ago | 54d ago | 124d ago |
| Age | 6y 7m | 6y 7m | 10m |
Health Breakdown
schemars
Maintenance
16
Quality
18
Community
15
Popularity
8
Documentation
12
schemars_derive
Maintenance
16
Quality
18
Community
12
Popularity
8
Documentation
12
oxc-schemars
Maintenance
13
Quality
15
Community
12
Popularity
6
Documentation
12
Technical Details
| schemars | schemars_derive | oxc-schemars | |
|---|---|---|---|
| Version | 1.2.1 | 1.2.1 | 0.8.27 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 42 | 6 | 24 |
| Crate Size | 94KB | 31KB | 60KB |
| Features | 6 | 0 | 11 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.74 | 1.74 | 1.60 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •schemars leads with a health score of 69/100, but none of the options score above 80.
- •schemars is depended on by 39.8K crates — strongest ecosystem trust.
- •oxc-schemars is pre-1.0 — API may change.