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 convert;
22pub mod default;
23pub mod iter;
24pub mod mem;
25pub mod ptr;
26pub mod slice;
27pub mod str;
28
29#[cfg(feature = "alloc")]
30cfg_group! {
31 #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
32 pub mod string;
33
34 #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
35 pub mod vec;
36}