1
0
Fork 0
firefox/third_party/rust/unix_str/Readme.md
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

30 lines
971 B
Markdown

# `unix_str`
Unix-compatible strings regardless of platform, including `#![no_std]`
environents. This crate is extracted from `std`.
## Features
- `shrink_to`: implements the unstable `shrink_to` method;
- `unixstring_ascii`: ASCII transformations, `std`'s unstable feature;
- `toowned_clone_into`: implements `ToOwned::clone_into`, an unstable method;
- `alloc`: implements `UnixString` and transformations with `Box`, `Rc`
and `Arc`;
- `std`: an alias for `alloc`.
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE)
or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT)
or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.