pointer-utils icon indicating copy to clipboard operation
pointer-utils copied to clipboard

`slice-dst`: Support allocator API

Open seekstar opened this issue 1 year ago • 0 comments

It seems that slice-dst can only be allocated with the global allocator. Although allocator_api is currently unstable, there is a widely used crate allocator-api2 that mirrors types and traits from allocator_api. Therefore, I think slice-dst can introduce a feature that enables allocator API mirrored by allocator-api2 similar to bumpalo.

seekstar avatar Apr 29 '24 05:04 seekstar