#deprecated #alloc #shim #items #import #ergonomically

deprecated no-std alloc-shim

A shim crate for to import items of alloc crate ergonomically. (deprecated).

8 releases

0.3.5 Oct 23, 2019
0.3.4 Sep 20, 2019
0.3.2 Mar 18, 2019
0.3.1 Feb 18, 2019
0.1.0 Jan 26, 2019

#12 in #ergonomically

35 downloads per month

Apache-2.0 OR MIT

8KB

alloc-shim

crates-badge docs-badge license-badge rustc-badge maintenance-status-badge

This crate is deprecated. You can now write:

#[cfg(all(feature = "alloc", not(feature = "std")))]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std as alloc;

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

Features