-
Notifications
You must be signed in to change notification settings - Fork 73
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
RUSTSEC-2020-0159 #89
Comments
chrono is currently used to get the current date (UTC and Local) as well as custom formatting of the printed time string. If that sounds like something that |
the more I investigated this the more I doubt switching to |
If you open up any issues over at the |
Just stumbled over this: https://www.reddit.com/r/rust/comments/qs7l6p/psa_the_time_crate_once_again_supports_obtaining here is a tracking issue: time-rs/time#380 |
@Drakulix per chronotope/chrono#639 chrono seems to be unmaintained and wont be fixed. time-rs/time#380 ref by @extrawurst seems to be merged and time updated quite a bit. will simplelog be updated soon to remove the insecure and unmaintained chrono crate? |
it really depends how chrono Is used though. if we do not rely on timezones the time-rs fix does the trick, otherwise the problem is that the time-rs 'fix' will error if you ask for a localtime (piecing this together from memory, but it had limitations) |
is that with the newest vers of time? |
Alright, I have replaced chrono with time on this branch: #95 Given that this causes some api breakage and is not entirely feature compatible with what simplelog did provide (unsoundly) with chrono, I will not put out a release right away, but ask everything involved and watching to test and review the new changes. For convenience this was also published as version 0.12.0-alpha1 on crates.io. Please continue the discussion on #95. |
Fixed by #95 |
Projects using simplelog are currently affected by RUSTSEC-2020-0159. There is also current discussion in the chrono repo about fixing the situation there: chronotope/chrono#499.
Still I was wondering how much of the chrono features simplelog actually relies on?
chrono
is based ontime
and the later caught up a lot on most of the same featureschrono
provides. Is it an option to cut out the chrono dependency entirely like many other crates do these days and usetime
directly?The text was updated successfully, but these errors were encountered: