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

Warning when calling a zip deprecated function #370

Closed
marcospb19 opened this issue Mar 11, 2023 · 1 comment · Fixed by #371
Closed

Warning when calling a zip deprecated function #370

marcospb19 opened this issue Mar 11, 2023 · 1 comment · Fixed by #371
Labels
good first issue Good for newcomers

Comments

@marcospb19
Copy link
Member

marcospb19 commented Mar 11, 2023

When compiling Ouch at 557f42a (latest upstream).

warning: use of deprecated associated function `zip::DateTime::from_time`: use `DateTime::try_from()`
   --> src/archive/zip.rs:261:36
    |
261 |         .and_then(|time| DateTime::from_time(time.into()))
    |                                    ^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default
@marcospb19 marcospb19 added the good first issue Good for newcomers label Mar 11, 2023
@figsoda
Copy link
Member

figsoda commented Mar 11, 2023

I was only able to reproduce this if I update the dependencies, #371 should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants