Closed AldaronLau closed 2 years ago
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.
@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.
Nice, thanks!
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.