1 | #[cfg(not(feature = "alloc"))] |
---|---|
2 | pub use core::alloc; |
3 | |
4 | #[cfg(feature = "alloc")] |
5 | pub use alloc_crate::{alloc, boxed, vec}; |
6 |
1 | #[cfg(not(feature = "alloc"))] |
---|---|
2 | pub use core::alloc; |
3 | |
4 | #[cfg(feature = "alloc")] |
5 | pub use alloc_crate::{alloc, boxed, vec}; |
6 |