#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(
all(
not(all(feature = "win_min_unsafe", target_family = "windows")),
feature = "safe"
),
forbid(unsafe_code)
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
extern crate alloc;
#[cfg(feature = "bytes")]
mod bytes;
#[cfg(feature = "cstr")]
mod cstr;
#[cfg(all(feature = "std", feature = "osstr"))]
mod osstr;
#[cfg(all(feature = "std", feature = "path"))]
mod path;
#[cfg(feature = "str")]
mod str;
mod traits;
#[cfg(feature = "cstr")]
pub use cstr::InteriorNulError;
pub use traits::{StringFromBytesMut, StringLike, StringToFromBytes};