#allocator #alloc #composable #allocation #traits #together #alloc-ref

nightly no-std alloc-compose

Composable allocator structures for plugging together more powerful allocators

8 releases (4 breaking)

0.5.0 Aug 13, 2020
0.4.2 Jul 28, 2020
0.4.1 May 2, 2020
0.3.1 Apr 30, 2020
0.1.0 Mar 25, 2020

#199 in No standard library

MIT/Apache

170KB
3.5K SLoC

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

Composable allocator structures for plugging together more powerful allocators.

alloc-compose relies on AllocRef as allocator trait. Until AllocRef has been stabilized, this crate requires a nightly compiler.

The design of composable allocators is inspired by std::allocator Is to Allocation what std::vector Is to Vexation by Andrei Alexandrescu and the Phobos Standard Library of the D Programming Language.

License

Alloc-Compose 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