-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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.