Skip to content
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

refactor deprecated Cookie::named fn #2343

Merged
merged 1 commit into from
Nov 24, 2023
Merged

refactor deprecated Cookie::named fn #2343

merged 1 commit into from
Nov 24, 2023

Conversation

deid84
Copy link
Contributor

@deid84 deid84 commented Nov 24, 2023

The cookie crate is now at version 0.18

In its changelog i see a deprecated fn and after doing cargo test i saw that Cookie::named could be now substituted by cookie::from or cookie::build

@jplatte
Copy link
Member

jplatte commented Nov 24, 2023

Good timing, given we're pretty close to releasing a breaking-change version and this is a public dependency! :)

Copy link
Member

@jplatte jplatte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cookie crate's changelog mentions that it now uses impl Into<Cookie> in many places. I think we should copy that design, but we can merge this PR first and do a follow-up. wdyt @davidpdrsn?

@jplatte jplatte merged commit fd7fd9f into tokio-rs:main Nov 24, 2023
18 checks passed
@davidpdrsn
Copy link
Member

The cookie crate's changelog mentions that it now uses impl Into<Cookie> in many places. I think we should copy that design, but we can merge this PR first and do a follow-up. wdyt @davidpdrsn?

Good idea! I've filed #2347

@jplatte jplatte mentioned this pull request Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants