Add new trait PathExt & impl for Path

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-12 01:46:10 +10:00
parent 0162f5f462
commit cb2be5a882
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 37 additions and 0 deletions

View file

@ -24,6 +24,9 @@ pub use extracter::TarEntriesVisitor;
mod readable_rx;
mod path_ext;
pub use path_ext::*;
/// Load binstall metadata from the crate `Cargo.toml` at the provided path
pub fn load_manifest_path<P: AsRef<Path>>(
manifest_path: P,