Decision Workspace
enum2schema vs enum2schema_derive vs herosal-toschema
Side-by-side comparison of Rust crates
55
enum2schema
experimentalv0.1.2
enum2schema is a rust derive macro that emits a JSON Schema describing a rust type, including doc-comment descriptions, externally tagged enum variants, and field types.
49
enum2schema_derive
experimentalv0.1.1
Derive macro implementation for enum2schema.
36
herosal-toschema
experimentalv0.1.5
Derive macro to generate JSON Schema from Rust structs
Core Metrics
| enum2schema | enum2schema_derive | herosal-toschema | |
|---|---|---|---|
| Health Score | 55 | 49 | 36 |
| Total Downloads | 2.9K | 2.9K | 77 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 80 | 3 | 1 |
| Releases | 3 | 2 | 4 |
| Last Updated | 118d ago | 119d ago | 296d ago |
| Age | 4m | 4m | 10m |
Health Breakdown
enum2schema
Maintenance
13
Quality
14
Community
11
Popularity
4
Documentation
13
enum2schema_derive
Maintenance
11
Quality
14
Community
7
Popularity
4
Documentation
13
herosal-toschema
Maintenance
11
Quality
7
Community
6
Popularity
2
Documentation
10
Technical Details
| enum2schema | enum2schema_derive | herosal-toschema | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.1 | 0.1.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 5 | 3 | 5 |
| Crate Size | 12KB | 6KB | 17KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 100.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum2schema leads with a health score of 55/100, but none of the options score above 80.
- •enum2schema_derive has the most downloads (2.9K), suggesting wider adoption.