pathtrim Alternatives
Safer and better-maintained options, ranked by Nerq Trust Score. Updated 2026-10-03.
pathtrim has a Nerq Trust Score of 48 (D). This crate implements the TrimmablePath trait on anything that implements AsRef<std::path::Path> so you can easily obtain the last *n* parts of a path.
| # | Name | Trust | Grade | Stars | Key Difference |
|---|
FAQ
What are the best alternatives to pathtrim?
The top alternatives based on Nerq Trust Score are listed above, all independently evaluated for security and reliability.
Is it safe to switch from pathtrim?
Check each alternative's safety report by clicking its name. Trust scores above 70 indicate strong reliability.
How does Nerq rank pathtrim alternatives?
Alternatives are ranked by Trust Score v2, combining security, maintenance, documentation, and community signals.