Decision Workspace
struct-validation vs sealedstruct vs sealedstruct_derive
Side-by-side comparison of Rust crates
44
struct-validation
growingv0.1.3
A simple trait and derive to validate structs and return a list of errors.
41
sealedstruct
experimentalv0.1.0
Generate boilerplate code to transition from raw (unchecked) structs to sealed (validated) structs
40
sealedstruct_derive
experimentalv0.1.0
Procedural macro crate for sealedstruct - derive macros for validating structs
Core Metrics
| struct-validation | sealedstruct | sealedstruct_derive | |
|---|---|---|---|
| Health Score | 44 | 41 | 40 |
| Total Downloads | 2.9K | 731 | 790 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 3 | 1 |
| Releases | 4 | 1 | 1 |
| Last Updated | 638d ago | 162d ago | 162d ago |
| Age | 1y 9m | 5m | 5m |
Health Breakdown
struct-validation
Maintenance
10
Quality
15
Community
5
Popularity
4
Documentation
10
sealedstruct
Maintenance
6
Quality
14
Community
8
Popularity
3
Documentation
10
sealedstruct_derive
Maintenance
6
Quality
15
Community
6
Popularity
3
Documentation
10
Technical Details
| struct-validation | sealedstruct | sealedstruct_derive | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 2 | 6 | 3 |
| Crate Size | 1KB | 11KB | 8KB |
| Features | 0 | 1 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •struct-validation leads with a health score of 44/100, but none of the options score above 80.
- •⚠ struct-validation has not been updated in over a year.