non-empty-str 0.12.0

Non-empty strings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(not(feature = "ownership"))]
compile_error!("expected `ownership` to be enabled");

#[cfg(any(feature = "std", feature = "alloc"))]
mod std_or_alloc {
    use ownership::impl_identity;

    use crate::{boxed::NonEmptyBoxedStr, string::NonEmptyString};

    impl_identity!(NonEmptyBoxedStr);
    impl_identity!(NonEmptyString);
}