-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lift the alloc requirement from most of the traits #15
Comments
Also important given that support for Embassy on the esp32* chips is picking up steam. |
Progress on this here. |
Done:
What is kind of important now is to validate the no-alloc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, a lot of traits do require
alloc
. However and at a closer inspection, often this requirement is just for convenience features, likeCow
(mqtt client traits), or incidental usage ofString
(wifi trait configuration) which can be avoided either by usingheapless
(as the strings have an upper limit) or better yet - lifetimed&str
.Given that it might be very possible to provide completely
alloc
-free implementations of these traits (or at least of their asyncified versions), we should remove thealloc
requirements from these traits.The text was updated successfully, but these errors were encountered: