Decision Workspace
byte-size vs bstr vs decoded-char
Side-by-side comparison of Rust crates
39
byte-size
growingv0.2.7
An effective short string shrinker with total disregard for speed, memory usage and executable size
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
51
decoded-char
growingv0.1.1
Simple wrapper to keep track of the original byte length of a decoded character in the encoded source file.
Core Metrics
| byte-size | bstr | decoded-char | |
|---|---|---|---|
| Health Score | 39 | 71 | 51 |
| Total Downloads | 16.9K | 269.3M | 2.1M |
| 30d Downloads | 70 | 16.5M | 197.8K |
| Dependents | 0 | 6.8K | 111 |
| Releases | 11 | 49 | 2 |
| Last Updated | 1146d ago | 152d ago | 1256d ago |
| Age | 3y 1m | 7y 5m | 4y |
Health Breakdown
byte-size
Maintenance
9
Quality
10
Community
5
Popularity
5
Documentation
10
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
decoded-char
Maintenance
3
Quality
16
Community
11
Popularity
8
Documentation
13
Technical Details
| byte-size | bstr | decoded-char | |
|---|---|---|---|
| Version | 0.2.7 | 1.12.1 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 9 | 6 | 0 |
| Crate Size | 2.3MB | 355KB | 7KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 2.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.73 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 71/100, but none of the options score above 80.
- •bstr is depended on by 6.8K crates — strongest ecosystem trust.
- •⚠ byte-size, decoded-char have not been updated in over a year.
- •byte-size, decoded-char are pre-1.0 — API may change.