1//! [`CStr`], [`CString`], and related types.
2
3#[stable(feature = "rust1", since = "1.0.0")]
4pub use core::ffi::c_str::CStr;
5
6#[stable(feature = "cstr_from_bytes", since = "1.10.0")]
7pub use core::ffi::c_str::FromBytesWithNulError;
8
9#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
10pub use core::ffi::c_str::FromBytesUntilNulError;
11
12#[stable(feature = "rust1", since = "1.0.0")]
13pub use alloc::ffi::c_str::{CString, NulError};
14
15#[stable(feature = "cstring_from_vec_with_nul", since = "1.58.0")]
16pub use alloc::ffi::c_str::FromVecWithNulError;
17
18#[stable(feature = "cstring_into", since = "1.7.0")]
19pub use alloc::ffi::c_str::IntoStringError;
20