Crates.io | uni-path |
lib.rs | uni-path |
version | 1.51.1 |
source | src |
created_at | 2021-04-17 11:57:10.15368 |
updated_at | 2021-04-17 14:34:37.013068 |
description | Platform-independent path manipulation |
homepage | https://github.com/agerasev/uni-path |
repository | https://github.com/agerasev/uni-path.git |
max_upload_size | |
id | 385721 |
size | 86,608 |
Platform-independent Unix-style path manipulation.
Rust's std::path
module provides convenient way of path manipulation. It would be nice to use such paths not only with OS file system, but with virtual one (e.g. in-memory fs). Unfortunately, std::path
is platform-dependent what means that its behavior is different on different platform.
This crate is very similar to std::path
because its source code was simply copied from std::path
implementation and only the following points were modified:
str
and String
instead of OsStr
and OsString
.