1
0
Fork 0
firefox/third_party/rust/unix_str
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
..
src Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
.cargo-checksum.json Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
Cargo.toml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
LICENSE-APACHE Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
LICENSE-MIT Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
Readme.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

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

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.