ownership 0.3.0

Obtaining ownership.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(not(any(feature = "std", feature = "alloc")))]
compile_error!("expected either `std` or `alloc` to be enabled");

#[cfg(feature = "std")]
use std::ffi::CString;

#[cfg(all(not(feature = "std"), feature = "alloc"))]
use alloc::ffi::CString;

use crate::impl_identity;

impl_identity!(CString);