Debian Codegraph @

third_party/rust/unix_str/Readme.md

raw
1 # `unix_str`
2
3 Unix-compatible strings regardless of platform, including `#![no_std]`
4 environents. This crate is extracted from `std`.
5
6 ## Features
7
8 - `shrink_to`: implements the unstable `shrink_to` method;
9 - `unixstring_ascii`: ASCII transformations, `std`'s unstable feature;
10 - `toowned_clone_into`: implements `ToOwned::clone_into`, an unstable method;
11 - `alloc`: implements `UnixString` and transformations with `Box`, `Rc`
12 and `Arc`;
13 - `std`: an alias for `alloc`.
14
15 ## License
16
17 Licensed under either of
18
19 - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE)
20 or http://www.apache.org/licenses/LICENSE-2.0)
21 - MIT license ([LICENSE-MIT](LICENSE-MIT)
22 or http://opensource.org/licenses/MIT)
23
24 at your option.
25
26 ## Contribution
27
28 Unless you explicitly state otherwise, any contribution intentionally submitted
29 for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
30 dual licensed as above, without any additional terms or conditions.