-
Notifications
You must be signed in to change notification settings - Fork 431
[feature] add feature flag http3 with reqwest #2492
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
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.
Thank you could you add a change file in .changes directory?
@amrbashir Sure, i added add-http3-feature-flag.md to .change dict |
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.
Thank you
Package Changes Through 23c1a36There are 4 changes which include http with patch, http-js with patch, log with minor, log-js with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
As this requires passing specific flag to rustc, I am hesitant to merge this, especially since the following works. tauri-plugin-http = "2"
reqwest = { version = "0.12", features = ["http3"] }
|
also seeing #2491, it seems to be a rust compiler panic that is not related to the feature. |
When I use reqwest 0.11 and enabled http3 feature, it will not panic, but when the version > 0.12 and enable the feature, rs will get a panic. i have no idea why does it happen,. |
Can you make a repro I can test with? |
Sure, just follow next steps
OS: Windows 11 x64 |
Sorry, I forget a link. |
This is not an issue with the plugin (or cargo I think) since I can activate the I'd suggest testing |
|
I definitely see the panic on my side as well, but as the error states, it is a compiler bug that should be reported to rust compiler. |
I commit a issue to rust repo, it got a P-medium label now. |
Add HTTP3 support to feature flags
Description
Currently, the feature flags do not include HTTP3 support, which creates a limitation for users who need to enable the HTTP3 feature in the reqwest library. Without this addition, users who try to enable HTTP3 face challenges:
This PR adds HTTP3 to the allowed feature flags, enabling users to leverage this experimental functionality in Rust-side code.
Changes Made
Notes
Testing