1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![doc(html_root_url = "https://docs.rs/alloc-shim/0.3.4")]
#![deny(rust_2018_idioms)]
#![deprecated(since = "0.3.4", note = "this crate is deprecated without replacement")]
#[cfg(all(feature = "alloc", not(feature = "std")))]
extern crate alloc as alloc_crate;
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use alloc_crate::*;
#[cfg(feature = "std")]
pub use std::{alloc, borrow, boxed, collections, fmt, format, rc, slice, str, string, sync, vec};