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.
34
patskovn-non-empty-string
growingv0.2.6
A simple type for non empty Strings, similar to NonZeroUsize and friends.
71
bstr
stablev1.12.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 | 34 | 71 |
| Total Downloads | 4.0M | 837 | 269.3M |
| 30d Downloads | 313.8K | 6 | 17.1M |
| Dependents | 98 | 0 | 6.8K |
| Releases | 8 | 1 | 49 |
| Last Updated | 352d ago | 376d ago | 152d ago |
| Age | 4y 6m | 1y | 7y 5m |
Health Breakdown
non-empty-string
Maintenance
7
Quality
16
Community
8
Popularity
8
Documentation
10
patskovn-non-empty-string
Maintenance
2
Quality
16
Community
3
Popularity
3
Documentation
10
bstr
Maintenance
13
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.12.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 | 355KB |
| Features | 3 | 3 | 5 |
| Yanked % | 0.0% | 0.0% | 2.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.
- •⚠ patskovn-non-empty-string has not been updated in over a year.
- •non-empty-string, patskovn-non-empty-string are pre-1.0 — API may change.