Decision Workspace
float vs range-cmp vs ord_subset
Side-by-side comparison of Rust crates
39
float
growingv0.1.2
Lightweight wrappers around primitive floating point types.
57
range-cmp
growingv1.0.0
Trait that allows comparing a value to a range of values
56
ord_subset
growingv3.1.2
Tools for working with the Ord subset of certain PartialOrd types, like floats.
Core Metrics
| float | range-cmp | ord_subset | |
|---|---|---|---|
| Health Score | 39 | 57 | 56 |
| Total Downloads | 14.1K | 18.7K | 2.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 15 | 38 |
| Releases | 3 | 5 | 9 |
| Last Updated | 2977d ago | 120d ago | 336d ago |
| Age | 10y 9m | 2y 11m | 11y 1m |
Health Breakdown
float
Maintenance
3
Quality
16
Community
4
Popularity
5
Documentation
11
range-cmp
Maintenance
10
Quality
18
Community
13
Popularity
5
Documentation
11
ord_subset
Maintenance
5
Quality
24
Community
7
Popularity
8
Documentation
12
Technical Details
| float | range-cmp | ord_subset | |
|---|---|---|---|
| Version | 0.1.2 | 1.0.0 | 3.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 3KB | 13KB | 17KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2015 |
| MSRV | — | 1.35 | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •range-cmp leads with a health score of 57/100, but none of the options score above 80.
- •ord_subset has the most downloads (2.0M), suggesting wider adoption.
- •⚠ float has not been updated in over a year.
- •float is pre-1.0 — API may change.