Problem:
mousefood currently assumes dynamic memory allocation, which makes it harder to use in embedded or no_std environments where heap usage is unavailable or undesirable.
Proposed Solution:
Add a no_alloc / heapless backend mode that avoids heap allocation entirely. The backend should rely on stack/static buffers or user-provided storage, ensuring deterministic memory usage.
Problem:
mousefood currently assumes dynamic memory allocation, which makes it harder to use in embedded or no_std environments where heap usage is unavailable or undesirable.
Proposed Solution:
Add a no_alloc / heapless backend mode that avoids heap allocation entirely. The backend should rely on stack/static buffers or user-provided storage, ensuring deterministic memory usage.