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#[macro_use]
11pub mod macros;
12
13pub mod str;
14
15pub use str::{Empty, Str};
16
17#[cfg(any(feature = "std", feature = "alloc"))]
18pub mod owned;
19
20#[cfg(any(feature = "std", feature = "alloc"))]
21pub use owned::{EmptyOwned, OwnedStr};