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

chore(deps): bump chrono dependency #14

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

orhun
Copy link
Contributor

@orhun orhun commented Apr 22, 2024

I'm using nvd_cve as a library and I was getting the following warning since the more recent version of chrono is pulled due to the loose versioning in Cargo.toml (0.4)

warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
   --> /home/orhun/gh/nvd_cve/src/feed.rs:116:36
    |
116 |                     NaiveDateTime::from_timestamp(0, 0)
    |                                    ^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

This PR updates chrono and fixes this warning.

@orhun
Copy link
Contributor Author

orhun commented Apr 29, 2024

I'm not sure why the CI fails 👀

@travispaul
Copy link
Owner

I'm not sure why the CI fails 👀

I'm not too concerned about the windows and MacOS builds. Those can be addressed later, as long as the Linux one is good.

@travispaul travispaul merged commit 558b818 into travispaul:main Apr 29, 2024
1 of 3 checks passed
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.

2 participants