-
Notifications
You must be signed in to change notification settings - Fork 25
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
async: Do not use heapless on public API. #93
async: Do not use heapless on public API. #93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fully agreed! This bothered me with the existing blocking api, should that be changed too?
Would you be willing to copy these over to the non-async version as well? I agree with the sentiment here, and we have the same problem over there. |
@ryan-summers done also note I've separated the MSRV bump to #94, review that first. |
It's better to not use heapless on the public API. - It can get major bumps from time to time (for example v0.8 was just relased), and upgrading it is a breaking change of embedded-nal-async, which we should try to avoid. - It allows users to use any version of heapless, or something else entirely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this!
It's better to not use heapless on the public API.