-
Notifications
You must be signed in to change notification settings - Fork 301
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
Add no_std
support
#551
Comments
Is there a reason you don't want to just bring in the whole http crate? The dependency is already quite light. I don't think moving things to their own crate makes anyone's life easier. |
The reason is that |
Maybe a better goal would be to allow http to support no_std similar to how |
Sure, that would work as well! |
+1 for this |
My use case is an HTTP client running in embedded hardware, hope this PR(#563) can get some feedback :) Ideally it would be nice if |
This PR is similar to other no-std PRs, however it takes the approach of using the new [`core::error`] module in Rust 1.81. This means that no-std mode has an MSRV of Rust 1.81, while the existing MSRV of 1.49 is still supported for existing users, as suggested [here]. This PR also preserves semver compatibility, and avoids adding any new dependencies or required features for existing users. And it avoids modifying the tests and benchmark sources, as those don't need to be no-std. And it avoids making any unrelated changes. And, it adds CI coverage and README.md documentation. [here]: hyperium#563 (comment) [`core::error`]: https://doc.rust-lang.org/stable/core/error/index.html Fixes hyperium#551.
Hello,
I'm currently in need of a correct
Uri
parser, and I believe the best URI implementation is the one in this crate.However, I don't want to add the whole
http
crate as a dependency.So, it would be very helpful if there was an additional crate just for URI parsing.
The text was updated successfully, but these errors were encountered: