microcrates-bytes 0.4.8

Types and traits for working with bytes (with no_std support by default)
//! Crate-specific prelude from which we can obtain types we import differently
//! based on whether or not `std` is enabled

#[cfg(all(feature = "nightly", not(feature = "std")))]
pub use alloc::boxed::Box;

#[cfg(all(feature = "nightly", not(feature = "std")))]
pub use alloc::string::String;

#[cfg(all(feature = "nightly", not(feature = "std")))]
pub use alloc::vec::Vec;

#[cfg(feature = "std")]
pub use std::boxed::Box;

#[cfg(feature = "std")]
pub use std::string::String;

#[cfg(feature = "std")]
pub use std::vec::Vec;