| 1 | // This file is part of ICU4X. For terms of use, please see the file |
| 2 | // called LICENSE at the top level of the ICU4X source tree |
| 3 | // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| 4 | |
| 5 | #![cfg_attr(not(any(test, doc)), no_std)] |
| 6 | #![cfg_attr( |
| 7 | not(test), |
| 8 | deny( |
| 9 | clippy::indexing_slicing, |
| 10 | clippy::unwrap_used, |
| 11 | clippy::expect_used, |
| 12 | clippy::panic, |
| 13 | clippy::exhaustive_structs, |
| 14 | clippy::exhaustive_enums, |
| 15 | clippy::trivially_copy_pass_by_ref, |
| 16 | missing_debug_implementations, |
| 17 | ) |
| 18 | )] |
| 19 | |
| 20 | //! A crate providing unvalidated string and character types. |
| 21 | |
| 22 | #[cfg(feature = "alloc")] |
| 23 | extern crate alloc; |
| 24 | |
| 25 | mod ucharrust-analyzer cargo potential_utf 0.1.4 uchar/; |
| 26 | mod ustrrust-analyzer cargo potential_utf 0.1.4 ustr/; |
| 27 | |
| 28 | pub use ucharrust-analyzer cargo potential_utf 0.1.4 uchar/::PotentialCodePointrust-analyzer cargo potential_utf 0.1.4 uchar/PotentialCodePoint#; |
| 29 | pub use ustrrust-analyzer cargo potential_utf 0.1.4 ustr/::PotentialUtf16rust-analyzer cargo potential_utf 0.1.4 ustr/PotentialUtf16#; |
| 30 | pub use ustrrust-analyzer cargo potential_utf 0.1.4 ustr/::PotentialUtf8rust-analyzer cargo potential_utf 0.1.4 ustr/PotentialUtf8#; |
| 31 | |
| 32 | #[cfg(feature = "writeable")] |
| 33 | mod writeable; |