1#![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#[cfg(feature = "alloc")]
23extern crate alloc;
24
25mod uchar;
26mod ustr;
27
28pub use uchar::PotentialCodePoint;
29pub use ustr::PotentialUtf16;
30pub use ustr::PotentialUtf8;
31
32#[cfg(feature = "writeable")]
33mod writeable;