non_empty_str/lib.rs
1//! Non-empty strings.
2
3#![cfg_attr(not(feature = "std"), no_std)]
4#![deny(missing_docs)]
5#![cfg_attr(docsrs, feature(doc_auto_cfg))]
6
7#[cfg(feature = "alloc")]
8extern crate alloc;
9
10#[cfg(any(feature = "alloc", feature = "std"))]
11pub mod cow;
12
13pub mod empty;
14pub mod str;
15
16#[macro_use]
17pub mod macros;
18
19#[cfg(any(feature = "alloc", feature = "std"))]
20pub use cow::CowStr;
21
22pub use empty::Empty;
23pub use str::Str;