Decision Workspace
strip-prefix-suffix-sane vs nameth vs fastxfix
Side-by-side comparison of Rust crates
41
strip-prefix-suffix-sane
experimentalv0.1.0
A small utility crate providing 'sane' `strip_prefix` and `strip_suffix` methods for `str` that return `self` instead of an `Option` when the prefix/suffix is not found.
59
nameth
growingv0.1.23
A simple macro to generate a static &str representing the name of a function, a struct or an enum
56
fastxfix
growingv1.0.0
Extremely fast prefix/suffix finder for any 2D data type
Core Metrics
| strip-prefix-suffix-sane | nameth | fastxfix | |
|---|---|---|---|
| Health Score | 41 | 59 | 56 |
| Total Downloads | 1.2K | 14.4K | 3.7K |
| 30d Downloads | 63 | 356 | 12 |
| Dependents | 0 | 175 | 0 |
| Releases | 1 | 24 | 9 |
| Last Updated | 300d ago | 20d ago | 74d ago |
| Age | 10m | 1y 3m | 11m |
Health Breakdown
strip-prefix-suffix-sane
Maintenance
3
Quality
15
Community
6
Popularity
4
Documentation
13
nameth
Maintenance
18
Quality
14
Community
12
Popularity
5
Documentation
10
fastxfix
Maintenance
15
Quality
17
Community
5
Popularity
4
Documentation
15
Technical Details
| strip-prefix-suffix-sane | nameth | fastxfix | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.23 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 1 | 2 |
| Crate Size | 4KB | 3KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 4.2% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | — | 1.89 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nameth leads with a health score of 59/100, but none of the options score above 80.
- •nameth is depended on by 175 crates — strongest ecosystem trust.
- •strip-prefix-suffix-sane, nameth are pre-1.0 — API may change.