rustio rustio.net
41

strip-prefix-suffix-sane

v0.1.0 Experimental

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.

MIT Edition 2021
Text processingNo standard library #utility#suffix#string#prefix#strip

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (4KB, 0 deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
1.2K
Dependents
0
Releases
1
Size
4KB

Deep Insights

๐Ÿ“‰
Download decline

67 downloads in the last 30 days, down 61% from the previous period. May indicate migration to alternatives.

๐Ÿชถ
Zero dependencies

strip-prefix-suffix-sane has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 4KB, strip-prefix-suffix-sane is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 6/20

Reverse deps, ownership, ecosystem

Popularity 4/15

Downloads, momentum, growth trend

Documentation 13/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
3/day avg+2%
02040608012/291/162/32/213/113/28

Version Adoption

v0.1.0
100%

Release Timeline

1 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
1
2026
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
0
crates depend on strip-prefix-suffix-sane

Similar Crates