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 ).
45#![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)]
1920//! A crate providing unvalidated string and character types.
2122#[cfg(feature = "alloc")]
23extern crate alloc;
2425mod uchar;
26mod ustr;
2728pub use uchar::PotentialCodePoint;
29pub use ustr::PotentialUtf16;
30pub use ustr::PotentialUtf8;
3132#[cfg(feature = "writeable")]
33mod writeable;