Closed
Description
As pointed out in #1297 (comment), we should discuss our strategy regarding the alloc
feature and its priority when creating user API. This should also be documented, once we discussed and agreed on a strategy.
TL;DR: Should we provide interfaces primarily like A, B, or C.
- A:
fn get_data(&self) -> Result<Vec<T>>
which is feature-gated - B:
fn get_data(&self, buf: &mut T) -> Result<()>
- C: Both where either A or B is prefixed/suffixed, such as
_in_buffer
or_owned
Metadata
Metadata
Assignees
Labels
No labels