`slice-dst`: Support allocator API
- 主要言語
- Rust
- スター
- 137
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず slice-dst の実装を読み、bumpalo の allocator-api2 サポートと比較します。allocator_api と allocator-api2 の trait および型を確認し、機能の統合ポイントを特定します。slice-dst がグローバルアロケータを必要とせずに allocator-api2 に基づくアロケーションを使用でき、サポートされるアロケータパスをカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100