CAD97 / CAD97/pointer-utils

`slice-dst`: Support allocator API

Open
#87 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
137
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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](https://docs.rs/allocator-api2) that mirrors types and traits from [allocator_api](https://doc.rust-lang.org/unstable-book/library-features/allocator-api.html). Therefore, I think `slice-dst` can introduce a feature that enables allocator API mirrored by `allocator-api2` similar to [bumpalo](https://docs.rs/bumpalo).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.