1#![allow(
2 clippy::inline_always,
3 clippy::missing_errors_doc, )]
5#![cfg_attr(not(any(test, feature = "std")), no_std)]
7#![cfg_attr(docsrs, feature(doc_cfg))]
8
9#[cfg(feature = "alloc")]
10extern crate alloc;
11
12#[macro_use]
13mod macros;
14
15mod sealed {
16 pub trait Sealed {}
17
18 pub struct Internal {}
19}
20
21pub mod default;
22pub mod iter;
23pub mod mem;
24pub mod ptr;
25pub mod slice;
26pub mod str;
27
28#[cfg(feature = "alloc")]
29cfg_group! {
30 #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
31 pub mod string;
32}