Hi!
This seems like a really great crate and I appreciate the work that's gone into it so far. I am working on an embedded Rust project for ASHA (which uses the g722 codec). Embedded Rust usually does not allow for std where dynamic allocators are available. What this would mean for this crate is having a no_std feature flag with nearly identical functions but instead of returning a Vec or dynamically sized return buffer, the function has a parameter that points to an output buffer. A result could be returned for these variants to indicate improper buffer size or some other error. I may try taking a stab at implementing this myself but it may be a few weeks before I get to it so if someone else wishes to implement it, go ahead!
Thanks,
JS
Hi!
This seems like a really great crate and I appreciate the work that's gone into it so far. I am working on an embedded Rust project for ASHA (which uses the g722 codec). Embedded Rust usually does not allow for std where dynamic allocators are available. What this would mean for this crate is having a
no_stdfeature flag with nearly identical functions but instead of returning aVecor dynamically sized return buffer, the function has a parameter that points to an output buffer. A result could be returned for these variants to indicate improper buffer size or some other error. I may try taking a stab at implementing this myself but it may be a few weeks before I get to it so if someone else wishes to implement it, go ahead!Thanks,
JS