-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update the time crate to 0.3 #2884
Comments
Some interesting context here:
I also wonder whether this security issue might be related to At least it's worth checking whether that last issue is fixed once we have upgraded. |
Started looking for migration docs for this. The changelog says versions before 0.2.7 are in release notes and the oldest release with notes is 0.2.0 which refs time-rs/time#190. |
So, I also started searching, found their book, and got excited when I found this page: https://time-rs.github.io/book/migration/0.3.html But it's empty 😄 Looks like we just have to rely on the documentation and tests for this migration. |
cargo audit returns:
|
OK! I started working on this and have coreutils uses the I'm going to switch the places coreutils relies on those structs to chrono, which is "aims to be a feature-complete superset of the time library" and coreutils already uses elsewhere but it'll likely require some changes to non-test code in edit: actually that won't fix the CVE since chrono uses a vulnerable version chronotope/chrono#632 so we'll want to get chrono to cut a release (but it looks unmaintained) or target std::time and time 0.3. edit2: aha! https://time-rs.github.io/format-converter/ |
@g-k are you still working on it? thanks |
I'd like to finish this but I haven't worked on it recently. Other people should feel free to finish it. I started working on this in https://github.com/uutils/coreutils/compare/main...g-k:2884-time-0.3?expand=1 running with |
Do you have an eta? :) |
We are currently using 0.1 and it has some issues.
We should update to version 0.3
Must be updated at least in these crates:
The text was updated successfully, but these errors were encountered: