We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
no_std
alloc
There are feature gates for std that could be under alloc perhaps ? e.g.
std
#[cfg(not(feature = "std"))] use alloc::boxed::Box; use alloc::format; use alloc::sync::Arc; use core::marker::PhantomData;
Trouble is current rustls largely needs alloc - nonetheless
We could have all alloc gated as feature as there is talk of having Arc-less version that doesn't require Alloc ?
Arc-less
The text was updated successfully, but these errors were encountered:
Yes, these should be under the alloc feature. We could leave stub like this for the time being:
#[cfg(not(feature = "alloc"))] compile_error!("Rustls currently does not support alloc-less environments");
Sorry, something went wrong.
Willing to take this. I think the PR just need to update feature gate on those ::alloc imports.
::alloc
Better gating of alloc (#62)
db39e4d
Gate all `alloc` usage with feature `alloc` instead of not std. Update CI to check `alloc` feature only build & test. Resolves #36.
Successfully merging a pull request may close this issue.
There are feature gates for
std
that could be underalloc
perhaps ? e.g.Trouble is current rustls largely needs alloc - nonetheless
We could have all
alloc
gated as feature as there is talk of havingArc-less
version that doesn't require Alloc ?The text was updated successfully, but these errors were encountered: