Decision Workspace
count_set_bits vs bitfrob vs anysize
Side-by-side comparison of Rust crates
48
count_set_bits
growingv0.0.18
count set bits
52
bitfrob
growingv1.3.2
A sibling crate for `bytemuck`, this is where forbid(unsafe_code) utilities live.
52
anysize
experimentalv0.2.0
A no-std zero cost abstraction, adding types for data sizes
Core Metrics
| count_set_bits | bitfrob | anysize | |
|---|---|---|---|
| Health Score | 48 | 52 | 52 |
| Total Downloads | 12.4K | 59.7K | 75 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 47 | 0 |
| Releases | 11 | 12 | 5 |
| Last Updated | 846d ago | 789d ago | 4d ago |
| Age | 2y 3m | 4y 2m | 1m |
Health Breakdown
count_set_bits
Maintenance
12
Quality
16
Community
2
Popularity
5
Documentation
13
bitfrob
Maintenance
4
Quality
22
Community
10
Popularity
6
Documentation
10
anysize
Maintenance
16
Quality
18
Community
6
Popularity
2
Documentation
10
Technical Details
| count_set_bits | bitfrob | anysize | |
|---|---|---|---|
| Version | 0.0.18 | 1.3.2 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | Zlib OR Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 8KB | 7KB | 7KB |
| Features | 0 | 1 | 18 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bitfrob leads with a health score of 52/100, but none of the options score above 80.
- •⚠ count_set_bits, bitfrob have not been updated in over a year.
- •count_set_bits, anysize are pre-1.0 — API may change.