Breaking Changes:
- Update
AllocReftrait to latest nightly
- use
core::allocinstead of own implementation
- Add
Vec - Add
String
Breaking Changes:
- Change Parameter from
B: BuildAlloctoA: DeallocRefto support type inference - Require nightly compiler
- Remove
AbortAlloc - Remove bound on
Error = !
- Provide default implementation for
realloc - Don't reexport
Layout - Make
NonZeroLayout::size,padding_needed_forandalignconst
- Add
usable_size,grow_in_place, andshrink_in_placetoAllocRef - Add
(try_)reserve_in_placeand(try_)double(_in_place)forRawVec - Add
CloneIntrait forBox - Use
AbortAlloc<Global>as default forRawVecinstead ofGlobal - Use
NonZeroUsizeinNonZeroLayout - Add
#[must_use]as proposed by clippy
- Add
RawVec<T, B: BuildAlloc> - Rename
BuildAlloctoBuildAllocRef - Use
Option<NonZeroLayout>forBuildAllocRef
- Change methods for retrieving
Band allocator inBox<T, B> - Unify all builder traits into
BuildAlloc
- Add
Box<T, B: BuildDealloc>
- Initial release