Decision Workspace
non-empty-string vs patskovn-non-empty-string vs bstr
Side-by-side comparison of Rust crates
49
non-empty-string
growingv0.2.6
A simple type for non empty Strings, similar to NonZeroUsize and friends.
33
patskovn-non-empty-string
growingv0.2.6
A simple type for non empty Strings, similar to NonZeroUsize and friends.
73
bstr
stablev1.13.1
A string type that is not required to be valid UTF-8.
Core Metrics
| non-empty-string | patskovn-non-empty-string | bstr | |
|---|---|---|---|
| Health Score | 49 | 33 | 73 |
| Total Downloads | 7.0M | 851 | 449.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 154 | 0 | 9.6K |
| Releases | 8 | 1 | 53 |
| Last Updated | 548d ago | 572d ago | 60d ago |
| Age | 5y | 1y 6m | 8y |
Health Breakdown
non-empty-string
Maintenance
6
Quality
16
Community
9
Popularity
8
Documentation
10
patskovn-non-empty-string
Maintenance
1
Quality
16
Community
3
Popularity
3
Documentation
10
bstr
Maintenance
15
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| non-empty-string | patskovn-non-empty-string | bstr | |
|---|---|---|---|
| Version | 0.2.6 | 0.2.6 | 1.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 5 | 6 |
| Crate Size | 14KB | 14KB | 357KB |
| Features | 3 | 3 | 5 |
| Yanked % | 0.0% | 0.0% | 1.9% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 73/100, but none of the options score above 80.
- •bstr is depended on by 9.6K crates — strongest ecosystem trust.
- •⚠ non-empty-string, patskovn-non-empty-string have not been updated in over a year.
- •non-empty-string, patskovn-non-empty-string are pre-1.0 — API may change.