Skip to content

No-std support? #42

@VorpalBlade

Description

@VorpalBlade

Would it be feasible to add optional no-std/no-alloc support to this crate? Or would it be easier to write a separate implementation entirely for my use case in embedded? And is this something you would even be interested in?

Looking at your dependencies crossbeam-utils already supports disabling the std feature, though I don't know if that would remove any API you depend on.

My use case is in embedded for reading in high volume sensor data into buffers with DMA and then having another thread process the data. If I don't manage to keep up with the processing I would rather drop the oldest data than the newest data, and it seems this crate would solve that issue.

Everything will have to be statically allocated, as I don't have alloc, and I need control over which linker section the allocations goes into (which can be done using #[link_section = ".section.name"] on the static).

I understand if this is out of scope for your crate or if it would be too disruptive to the way it is architected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions