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

Remove dependency on time from chrono. #100

Merged
merged 1 commit into from Mar 24, 2022

Conversation

AldaronLau
Copy link
Contributor

It would be good to get rid of the time dependency pulled in by chrono because: a) https://rustsec.org/advisories/RUSTSEC-2020-0071 and b) it's not needed.

zslayton pushed a commit that referenced this pull request Mar 21, 2022
@zslayton
Copy link
Owner

Thanks for the PR and sorry for the delayed reply. This is a good idea; I just tried it out in my local workspace and the build failed because cron uses Utc::now(), which I infer requires the time crate. I'll investigate this more closely when I have an opportunity.

@AldaronLau
Copy link
Contributor Author

@zslayton I figured out that the "clock" feature needs to be enabled. I wasn't seeing the error on my end because chrono-tz (a dev-dependency) enables that feature, commenting it out I also saw the build failure. I just pushed the patch so it should build fine now.

@zslayton zslayton merged commit c185bce into zslayton:master Mar 24, 2022
@zslayton
Copy link
Owner

Nice, thanks!

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.

None yet

2 participants