Decision Workspace
validator vs validator_derive vs validator_types
Side-by-side comparison of Rust crates
52
validator
growingv0.20.0
Common validation functions (email, url, length, ...) and trait - to be used with `validator_derive`
64
validator_derive
growingv0.20.1
Macros 1.1 implementation of #[derive(Validate)]
46
validator_types
growingv0.16.0
Basic type for validator and validator_derive
Core Metrics
| validator | validator_derive | validator_types | |
|---|---|---|---|
| Health Score | 52 | 64 | 46 |
| Total Downloads | 55.9M | 51.6M | 19.5M |
| 30d Downloads | 2.0M | 1.8M | 151.5K |
| Dependents | 8.8K | 991 | 10 |
| Releases | 26 | 32 | 5 |
| Last Updated | 539d ago | 4d ago | 1449d ago |
| Age | 9y 6m | 9y 6m | 5y 10m |
Health Breakdown
validator
Maintenance
6
Quality
14
Community
12
Popularity
8
Documentation
12
validator_derive
Maintenance
18
Quality
15
Community
11
Popularity
8
Documentation
12
validator_types
Maintenance
6
Quality
17
Community
6
Popularity
8
Documentation
9
Technical Details
| validator | validator_derive | validator_types | |
|---|---|---|---|
| Version | 0.20.0 | 0.20.1 | 0.16.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 11 | 5 | 2 |
| Crate Size | 16KB | 15KB | 2KB |
| Features | 4 | 1 | 3 |
| Yanked % | 3.9% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | 1.81 | 1.88 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •validator_derive leads with a health score of 64/100, but none of the options score above 80.
- •validator has the most downloads (55.9M), suggesting wider adoption.
- •validator is depended on by 8.8K crates — strongest ecosystem trust.
- •⚠ validator, validator_types have not been updated in over a year.