OsStrTools adds some useful methods to
that are missing in the standard library, like
splice(). It is mostly
useful for dealing dealing with things like file names, command
PathBuf, and the like.
Windows support is experimental, but shoud hopefully mostly work,
although it is not well tested and likely somewhat slower due to
some overhead since it requires checking the strings for
correctness. The checking is done by
This crate is still maintained, but mostly has been deprecated in
bstr. If any bugs
remain it's likely they will be fixed as they come up, though.
Conversion Trait implemented for many byte sources that can be used as arguments for search patterns and replacement strings. The methods probably shouldn't be called anywhere outside this crate.
Extension Trait for OsStr to make working OsStr them more
ergonomic. It contains many methods that work similarly to those