#alloc #proposal #attempt #collection #collect #replace #allocators-wg

nightly no-std alloc-wg

Attempt of collection several proposals of the allocators-wg

18 releases (8 breaking)

0.9.0 May 2, 2020
0.8.0 Mar 24, 2020
0.7.0 Nov 21, 2019

#40 in #collect


Used in buddy-allocator

MIT/Apache

300KB
4.5K SLoC

Alloc-WG

Test Status Lint Status Docs master Docs.rs Crates.io Crates.io

An attempt to collect several proposals of rust-lang/wg-allocators into a MVP.

This crate is WIP and should not be used in production use!

It requires a nightly compiler, and is designed to replace the alloc crate. However, this is not completely possible as crate, as some compiler features are not possible for crates.

Currently associated containers

  • Boxstruct

    • specialization of sized iterators as it's not possible for downstream crates.
    • Limited T: Copy for Fn-traits as it's not possible for downstream crates.
  • RawVec

  • Vec

  • String

License

Alloc-WG is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

No runtime deps

Features