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

Bump chrono version to remove outdated time dependency #280

Closed
wants to merge 3 commits into from

Conversation

Porges
Copy link

@Porges Porges commented Aug 23, 2022

chrono ≥ 0.4.20 has the ability to remove the problematic time dependency. Bump it to enable this and remove the time dependency.

This fixes #235.

I also bumped some other versions in the lock files to get rid of other cargo audit failures when developing locally, but these don't have downstream effects.

@Porges
Copy link
Author

Porges commented Sep 5, 2022

Ping @dmolokanov, please take a look.

Porges added a commit to microsoft/onefuzz that referenced this pull request Sep 7, 2022
Closes #1366 and incidentally closes #1266.

Requires using a not-yet-merged modification to the latest version of `appinsights-rs` to remove the `time` feature from the `chrono` dependency (dmolokanov/appinsights-rs#280). 

There are changes to use the new (tokio-based) version of `appinsights-rs`, e.g., made `set_appinsights_clients` async to ensure it is always called from an async context, since the constructor for appinsights now invokes `Tokio::spawn`.
@dmolokanov
Copy link
Owner

Closing in favor of #289. Thanks for contribution!

@dmolokanov dmolokanov closed this Oct 27, 2022
MichaelMatschiner added a commit to MichaelMatschiner/onefuzz that referenced this pull request Dec 26, 2022
Closes #1366 and incidentally closes #1266.

Requires using a not-yet-merged modification to the latest version of `appinsights-rs` to remove the `time` feature from the `chrono` dependency (dmolokanov/appinsights-rs#280). 

There are changes to use the new (tokio-based) version of `appinsights-rs`, e.g., made `set_appinsights_clients` async to ensure it is always called from an async context, since the constructor for appinsights now invokes `Tokio::spawn`.
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.

Remove chrono crate
2 participants