Decision Workspace
jsonschema-schema vs schemars vs schemars_derive
Side-by-side comparison of Rust crates
45
jsonschema-schema
experimentalv0.2.0
Typed Rust representation of JSON Schema draft 2020-12
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
Core Metrics
| jsonschema-schema | schemars | schemars_derive | |
|---|---|---|---|
| Health Score | 45 | 69 | 66 |
| Total Downloads | 152 | 201.5M | 112.8M |
| 30d Downloads | 152 | 29.0M | 11.8M |
| Dependents | 6 | 39.8K | 155 |
| Releases | 2 | 96 | 92 |
| Last Updated | 22d ago | 54d ago | 54d ago |
| Age | 26d | 6y 7m | 6y 7m |
Health Breakdown
jsonschema-schema
Maintenance
13
Quality
13
Community
6
Popularity
3
Documentation
10
schemars
Maintenance
16
Quality
18
Community
15
Popularity
8
Documentation
12
schemars_derive
Maintenance
16
Quality
18
Community
12
Popularity
8
Documentation
12
Technical Details
| jsonschema-schema | schemars | schemars_derive | |
|---|---|---|---|
| Version | 0.2.0 | 1.2.1 | 1.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 7 | 42 | 6 |
| Crate Size | 38KB | 94KB | 31KB |
| Features | 0 | 6 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.74 | 1.74 |
| Owners | 1 | 1 | 1 |
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.
- •jsonschema-schema is pre-1.0 — API may change.