-
Notifications
You must be signed in to change notification settings - Fork 999
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
chore(quic): deprecate QUIC draft-29 version support #5786
base: master
Are you sure you want to change the base?
chore(quic): deprecate QUIC draft-29 version support #5786
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.
LGTM. Left a small 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.
Sorry, looks like you would need to add #[allow(deprecated)]
to support_draft_29
too. Could you do that too? :)
@@ -59,6 +59,8 @@ pub struct Config { | |||
/// If support for draft-29 is enabled servers support draft-29 and version 1 on all | |||
/// QUIC listening addresses. | |||
/// As client the version is chosen based on the remote's address. | |||
#[allow(deprecated)] |
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.
I think the #[allow(deprecated)]
needs to be applied in all the places where support_draft_29
is used, instead of here where it is declared.
Also, could we use expect
instead of allow
? expect
will give us a warning as soon as the attribute isn't needed anymore, i.e. as soon as the deprecated items are removed.
(Depends on #5650 to update our MSRV to the most recent rust version where expect
was stablilized.)
Description
Deprecate support_draft_version field from QUIC protocol.
resolves #3395
Change checklist