Skip to content

[Feature] #![no_std] compatibility. #2

Description

@Jah-On

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions