Decision Workspace
rok-validate-macros vs domainstack-derive vs premortem-derive
Side-by-side comparison of Rust crates
46
rok-validate-macros
experimentalv0.3.7
Proc-macro internals for rok-validate (#[derive(Validate)])
56
domainstack-derive
experimentalv1.1.1
Derive macros for domainstack: #[derive(Validate, ToSchema, ToJsonSchema)] - validation + auto-generate OpenAPI/JSON Schema
53
premortem-derive
experimentalv0.3.0
Derive macros for the premortem configuration validation library
Core Metrics
| rok-validate-macros | domainstack-derive | premortem-derive | |
|---|---|---|---|
| Health Score | 46 | 56 | 53 |
| Total Downloads | 76 | 682 | 2.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 9 | 18 |
| Releases | 4 | 3 | 4 |
| Last Updated | 7d ago | 138d ago | 181d ago |
| Age | 16d | 4m | 6m |
Health Breakdown
rok-validate-macros
Maintenance
13
Quality
13
Community
8
Popularity
2
Documentation
10
domainstack-derive
Maintenance
12
Quality
17
Community
9
Popularity
3
Documentation
15
premortem-derive
Maintenance
16
Quality
14
Community
9
Popularity
4
Documentation
10
Technical Details
| rok-validate-macros | domainstack-derive | premortem-derive | |
|---|---|---|---|
| Version | 0.3.7 | 1.1.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 8 | 3 |
| Crate Size | 10KB | 29KB | 11KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.76 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •domainstack-derive leads with a health score of 56/100, but none of the options score above 80.
- •premortem-derive has the most downloads (2.0K), suggesting wider adoption.
- •rok-validate-macros, premortem-derive are pre-1.0 — API may change.