2 releases
0.0.4 | Aug 31, 2023 |
---|---|
0.0.3 |
|
0.0.2 |
|
0.0.1 | Aug 30, 2023 |
#1 in #manipulating
32KB
524 lines
os-str-manip
The crate os-str-manip is a crate for manipulating OsStr
and OsString
values with a cross-platform API.
It supports Windows, Unix, and WASI.
Note that this crate does not have proper tests yet, hence it is still at major version 0.
See the documentation for more details.
lib.rs
:
Tools for manipulating OsStr
s and OsString
s
It supports WASI, Unix, and Windows, as these are the only platforms that provide
basic OsStr
inspection via an OsStrExt
trait
The crate is not optimized for each OS—instead, it defines core functionality for
interfacing with OsStr
s and uses them to provide its functionality with
cross-platform algorithms
The main entry point is the OsStrManip
trait, and the prelude
module
This crate has an optional feature that requires unstable features
and therefore nightly rust: unchecked_index
, which provides OsStrManip::index_unchecked
and OsStrIndex::index_of_unchecked