-
Notifications
You must be signed in to change notification settings - Fork 534
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 rustc-serialize from chrono = "~0.4.38"
#1548
Remove rustc-serialize from chrono = "~0.4.38"
#1548
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1548 +/- ##
==========================================
- Coverage 91.82% 91.79% -0.04%
==========================================
Files 40 37 -3
Lines 18345 18185 -160
==========================================
- Hits 16846 16693 -153
+ Misses 1499 1492 -7 ☔ View full report in Codecov by Sentry. |
It's not clear to me if this comment remains actionable: chrono/.github/workflows/test.yml Lines 164 to 167 in d79a0ee
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, and glad to see this gone 😄.
I suppose there is not really a way to test this except by making a release. Since when does cargo's resolver have this ability? Is it supported by our MSRV 1.61? I can't find it, but according to archive.org it is documented this way for at least three years so 👍.
It's not clear to me if this comment remains actionable:
It is old but somewhat true again. Could you replace it with something like "We can't use --all-features
because of the conflicting rkyv-*
features."?
We should squash all these commits, since some of them cannot pass CI independently. Can just do it during merge in this csae. |
d79a0ee
to
0055839
Compare
And docs and deny exceptions and...
0055839
to
c4e1957
Compare
You can experiment with a Cargo project using
Done. |
Thank you! |
Per Cargo's documentation on its resolver:
Thus, while it may be unusual to make this change on a SemVer minor release, it is de facto not a "breaking change" to dependents to remove the rustc-serialize feature. Dependents on it will simply not update to a later version of the chrono crate (i.e. 0.4.38 or later), as Cargo will correctly identify the incompatibility, and will keep giving them a maximum of
chrono = { version = "0.4.37", features = ["rustc-serialize"] }
instead. This may not be something one should do casually, but as the dependency has been deprecated for almost a year now, and Rust plans to remove the relevant code, it seems preferable.