npath
is a Rust library providing methods for cross-platform lexical path
processing and normalization. These methods are implemented in extension traits
to Path
and PathBuf
.
Add npath
to your Cargo.toml
:
[dependencies]
npath = { git = "https://github.com/gdzx/npath" }
Import the following traits:
use npath::{NormPathExt, NormPathBufExt};
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).