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