-
Notifications
You must be signed in to change notification settings - Fork 66
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
fix: MSRV fix by pinning idna_adapter version #722
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #722 +/- ##
=======================================
Coverage 84.02% 84.02%
=======================================
Files 77 77
Lines 18063 18063
Branches 18063 18063
=======================================
Hits 15178 15178
Misses 2167 2167
Partials 718 718 ☔ View full report in Codecov by Sentry. |
kernel/Cargo.toml
Outdated
# force URL to use unicode-rs instead of ICU4X otherwise we require MSRV 1.81 | ||
# from docs: compared to ICU4X, this makes build times faster, MSRV lower, binary size larger, and | ||
# run-time performance slower. | ||
idna_adapter = "=1.1.0" |
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.
We don't want to force this here, because then everyone depending on us is required to use this version. But, we can do it like I do with the home crate below. so, remove the url = "2"
line and add:
[dependencies.url]
version = "2"
idna_adapter = "=1.1.0"
below
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.
hm it seems this doesn't force that version (just pulling in 1.2 still)
What changes are proposed in this pull request?
TLDR: pin
idna_adapter
to version1.1.0
.problem: despite Url saying that MSRV is 1.63, it actually depends on the unicode backend you use. previously kernel took no opinion and was thus bumped to the newest releases of ICU4X which requires rust 1.81. for now, we will force the old unicode backend and then in 0.8.0 (or whenever we want to bump MSRV) upgrade/revert back to the ICU4X backend
from Url docs:
How was this change tested?