-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Problem description
As a side project I've been foraying into creating an open-source DMX node based on an STM32F7 series microcontroller. Using the embassy framework, which includes the embassy_net stack (this is mostly a wrapper around smoltcp). I have been able to receive sACN dataframes through multi and unicast. However I've hit a roadblock and that's that this library (as far as I can tell the only complete sACN library available for Rust for which my gratitude) does not support a no_std environment.
Solutions
There are 3 possible solutions to this problem as far as I can see:
- A pretty major rewrite of this library to support no-std environments using the "std" feature as a negating flag.
- Splitting this library into a "sacn-core" crate that does not rely on std/alloc but has enough functionality to be useful in an embedded environment and an "sacn" crate that imports "sacn-core" but provides a higher-level interface.
- A "new" library, specifically designed for no_std environments.
Resolution
Do you have any opinion on this, or have you considered any approach? And are you, the authors/maintainers of this crate, willing and able to spend some time and effort to aid me in this endeavour. As I am not very experienced in contributing to open-source projects yet.