Decision Workspace
const-units vs dims vs test-case
Side-by-side comparison of Rust crates
42
const-units
growingv0.1.3
A library that lets you check the dimensions of your quantities at compile time and run time
40
dims
growingv0.5.1
Unit-Aware Types Library
77
test-case
stablev3.4.0
Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
Core Metrics
| const-units | dims | test-case | |
|---|---|---|---|
| Health Score | 42 | 40 | 77 |
| Total Downloads | 5.2K | 9.3K | 66.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 21.3K |
| Releases | 4 | 7 | 30 |
| Last Updated | 1030d ago | 840d ago | 16d ago |
| Age | 2y 10m | 4y 8m | 7y |
Health Breakdown
const-units
Maintenance
5
Quality
17
Community
6
Popularity
4
Documentation
10
dims
Maintenance
4
Quality
18
Community
3
Popularity
5
Documentation
10
test-case
Maintenance
17
Quality
20
Community
17
Popularity
8
Documentation
15
Technical Details
| const-units | dims | test-case | |
|---|---|---|---|
| Version | 0.1.3 | 0.5.1 | 3.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 2 | 5 |
| Crate Size | 13KB | 8KB | 14KB |
| Features | 4 | 7 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •test-case leads with a health score of 77/100, but none of the options score above 80.
- •test-case is depended on by 21.3K crates — strongest ecosystem trust.
- •⚠ const-units, dims have not been updated in over a year.
- •const-units, dims are pre-1.0 — API may change.