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
13#[cfg(any(feature = "alloc", feature = "std"))]
14pub mod owned;
15
16pub mod empty;
17pub mod str;
18
19#[macro_use]
20pub mod macros;
21
22#[cfg(any(feature = "alloc", feature = "std"))]
23pub use cow::CowStr;
24
25#[cfg(any(feature = "alloc", feature = "std"))]
26pub use owned::OwnedStr;
27
28pub use empty::Empty;
29pub use str::Str;