pointer-utils
pointer-utils copied to clipboard
`slice-dst`: Support allocator API
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.