👎Deprecated since 0.3.4: this crate is deprecated without replacement
Expand description
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;
Modules§
- Memory allocation APIs
- A module for working with borrowed data.
- The
Box<T>
type for heap allocation. - Collection types.
- Utilities related to FFI bindings.
- Utilities for formatting and printing
String
s. - Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
- Utilities for the slice primitive type.
- Utilities for the
str
primitive type. - A UTF-8–encoded, growable string.
- Thread-safe reference-counting pointers.
- Types and Traits for working with asynchronous tasks.
- A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
Macros§
- Creates a
String
using interpolation of runtime expressions. - Creates a
Vec
containing the arguments.