Decision Workspace
lexical-sort vs lexicmp vs ordered-float
Side-by-side comparison of Rust crates
49
lexical-sort
growingv0.3.1
Sort Unicode strings lexically
51
lexicmp
growingv0.2.0
Library for comparing and sorting strings lexicographically and naturally
77
ordered-float
stablev5.2.0
Wrappers for total ordering on floats
Core Metrics
| lexical-sort | lexicmp | ordered-float | |
|---|---|---|---|
| Health Score | 49 | 51 | 77 |
| Total Downloads | 4.0M | 869.9K | 280.1M |
| 30d Downloads | 169.8K | 87.6K | 21.7M |
| Dependents | 311 | 467 | 12.0K |
| Releases | 6 | 2 | 57 |
| Last Updated | 2036d ago | 350d ago | 2d ago |
| Age | 5y 9m | 3y | 11y 4m |
Health Breakdown
lexical-sort
Maintenance
4
Quality
12
Community
13
Popularity
8
Documentation
12
lexicmp
Maintenance
6
Quality
15
Community
13
Popularity
7
Documentation
10
ordered-float
Maintenance
18
Quality
19
Community
20
Popularity
8
Documentation
12
Technical Details
| lexical-sort | lexicmp | ordered-float | |
|---|---|---|---|
| Version | 0.3.1 | 0.2.0 | 5.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 1 | 13 |
| Crate Size | 64KB | 13KB | 32KB |
| Features | 2 | 0 | 10 |
| Yanked % | 16.7% | 0.0% | 5.3% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | 1.63 |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •ordered-float leads with a health score of 77/100, but none of the options score above 80.
- •ordered-float is depended on by 12.0K crates — strongest ecosystem trust.
- •⚠ lexical-sort has not been updated in over a year.
- •lexical-sort, lexicmp are pre-1.0 — API may change.