-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Support for #![no_std] #22
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
Conversation
|
@AlisCode This impl still requires |
|
@tisonkun Yes, for example embedded development.
In the case of development for an esp32 for example, you can use |
|
To add to that : I believe it is theoretically possible to go no-alloc by using |
|
Thanks for your explanation! In my use case, I can have std always available. So I'd keep I'll review this changeset later this month (feel free to ping me if I miss this target). cc @andylokandy do you foresee some cases we could have hard dependencies on |
|
anyhow supports |
|
I'm going to rebase this onto the main branch, and add a chaneglog file to denote the no_std support, and emphasize that this is a nice-to-have feature that I do not promise to keep it in the following major versions. Before 1.0, when the APIs of |
tisonkun
left a comment
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.
LGTM.
We may update the README.md for further no_std support details.
@andylokandy I'm going to merge this patch in hours or tomorrow.
|
Docs updated also. |
Contents
This PR brings support for
no-stdinexnso that the crate can be used on e.g. embedded devices.allocis still required because of implementation details. At a glance, no-alloc should be possible but is out of scope for this PR and most likely forexnitself.Fixes #21