allocator-api2

crates docs actions MIT/Apache loc

This crate mirrors types and traits from Rust's unstable [allocator_api] The intention of this crate is to serve as substitution for actual thing for libs when build on stable and beta channels. The target users are library authors who implement allocators or collection types that use allocators, or anyone else who wants using [allocator_api]

The crate should be frequently updated with minor version bump. When [allocator_api] is stable this crate will get version 1.0 and simply reexport from core, alloc and possibly std.

The code is mostly verbatim copy from rust repository. Mostly attributes are removed.

License

Licensed under either of

at your option.

Contributions

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.