Breaking Changes:
- Update
AllocRef
trait to latest nightly
- use
core::alloc
instead of own implementation
- Add
Vec
- Add
String
Breaking Changes:
- Change Parameter from
B: BuildAlloc
toA: DeallocRef
to 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_for
andalign
const
- Add
usable_size
,grow_in_place
, andshrink_in_place
toAllocRef
- Add
(try_)reserve_in_place
and(try_)double(_in_place)
forRawVec
- Add
CloneIn
trait forBox
- Use
AbortAlloc<Global>
as default forRawVec
instead ofGlobal
- Use
NonZeroUsize
inNonZeroLayout
- Add
#[must_use]
as proposed by clippy
- Add
RawVec<T, B: BuildAlloc>
- Rename
BuildAlloc
toBuildAllocRef
- Use
Option<NonZeroLayout>
forBuildAllocRef
- Change methods for retrieving
B
and allocator inBox<T, B>
- Unify all builder traits into
BuildAlloc
- Add
Box<T, B: BuildDealloc>
- Initial release