Decision Workspace
trim_matches_exactly vs bstr vs cow-utils
Side-by-side comparison of Rust crates
35
trim_matches_exactly
growingv0.1.0
Extension trait for controlled trimming of prefixes and suffixes of &str and String
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
52
cow-utils
growingv0.1.3
Copy-on-write string utilities for Rust
Core Metrics
| trim_matches_exactly | bstr | cow-utils | |
|---|---|---|---|
| Health Score | 35 | 71 | 52 |
| Total Downloads | 1.9K | 269.3M | 4.3M |
| 30d Downloads | 4 | 17.1M | 537.5K |
| Dependents | 0 | 6.8K | 2.2K |
| Releases | 1 | 49 | 4 |
| Last Updated | 2805d ago | 152d ago | 913d ago |
| Age | 7y 8m | 7y 5m | 6y 1m |
Health Breakdown
trim_matches_exactly
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
8
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
cow-utils
Maintenance
3
Quality
17
Community
15
Popularity
8
Documentation
9
Technical Details
| trim_matches_exactly | bstr | cow-utils | |
|---|---|---|---|
| Version | 0.1.0 | 1.12.1 | 0.1.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 6 | 2 |
| Crate Size | 3KB | 355KB | 6KB |
| Features | 0 | 5 | 2 |
| Yanked % | 0.0% | 2.0% | 0.0% |
| Edition | — | 2021 | 2018 |
| 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.
- •⚠ trim_matches_exactly, cow-utils have not been updated in over a year.
- •trim_matches_exactly, cow-utils are pre-1.0 — API may change.