pathtrim 1.0.0

trimpath - When all you need is the last few parts of a path, this crate implements the TrimmablePath trait on std::path::Path so you can easily obtain the last *n* parts of the path.
Documentation