Decision Workspace
cuniq vs line_cardinality vs hist-rs
Side-by-side comparison of Rust crates
52
cuniq
growingv2.0.0
Count unique lines
52
line_cardinality
growingv3.0.0
High performance line cardinality counts and estimates
47
hist-rs
experimentalv0.1.8
High-throughput method to count abundance of unique line in the style of `sort | uniq -c`
Core Metrics
| cuniq | line_cardinality | hist-rs | |
|---|---|---|---|
| Health Score | 52 | 52 | 47 |
| Total Downloads | 4.6K | 4.8K | 1.2K |
| 30d Downloads | 7 | 24 | 15 |
| Dependents | 0 | 5 | 0 |
| Releases | 5 | 5 | 9 |
| Last Updated | 164d ago | 164d ago | 143d ago |
| Age | 1y 7m | 1y 7m | 5m |
Health Breakdown
cuniq
Maintenance
11
Quality
20
Community
5
Popularity
4
Documentation
12
line_cardinality
Maintenance
11
Quality
20
Community
5
Popularity
4
Documentation
12
hist-rs
Maintenance
15
Quality
13
Community
5
Popularity
4
Documentation
10
Technical Details
| cuniq | line_cardinality | hist-rs | |
|---|---|---|---|
| Version | 2.0.0 | 3.0.0 | 0.1.8 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | GPL-3.0-or-later | GPL-3.0-or-later | MIT |
| Dependencies | 10 | 6 | 7 |
| Crate Size | 23KB | 16KB | 9KB |
| Features | 5 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85.0 | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cuniq leads with a health score of 52/100, but none of the options score above 80.
- •line_cardinality has the most downloads (4.8K), suggesting wider adoption.
- •hist-rs is pre-1.0 — API may change.