Lines Matching refs:alloc
230 //! # #[cfg(feature = "alloc")]
246 //! # #[cfg(not(feature = "alloc"))]
380 #[cfg(feature = "alloc")]
382 extern crate alloc;
389 /// Lib module to re-export everything needed from `std` or `core`/`alloc`. This is how `serde` does
393 /// `std` facade allowing `std`/`core` to be interchangeable. Reexports `alloc` crate optionally,
400 #[cfg(not(feature = "alloc"))]
403 #[cfg(feature = "alloc")]
405 pub use alloc::{borrow, boxed, string, vec};
423 alloc, borrow, boxed, cmp, collections, convert, fmt, hash, iter, mem, ops, option, result,