1//!
2//! allocator-api2 crate.
3//!
4#![cfg_attr(not(feature = "std"), no_std)]
5
6#[cfg(feature = "alloc")]
7extern crate alloc as alloc_crate;
8
9#[cfg(not(feature = "nightly"))]
10mod stable;
11
12#[cfg(feature = "nightly")]
13mod nightly;
14
15#[cfg(not(feature = "nightly"))]
16pub use self::stable::*;
17
18#[cfg(feature = "nightly")]
19pub use self::nightly::*;
20