Skip to content
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

Prepare url crate for publication with idna 1.0.3 #987

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

hsivonen
Copy link
Collaborator

Prepare the idna-v1x branch so that url 2.5.3 depending on idna 1.0.3 could be published from it.

However, instead of actually publishing url 2.5.3 and idna 1.0.3 from the idna-v1x branch, my expectation is that after this PR has landed, we'd merge idna-v1x into main, at which point url 2.5.3 and idna 1.0.3 could be published from main and the idna-v1x branch would become obsolete.

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.41%. Comparing base (e6cd8f7) to head (c78a0f4).
Report is 2 commits behind head on idna-v1x.

Additional details and impacted files
@@             Coverage Diff              @@
##           idna-v1x     #987      +/-   ##
============================================
- Coverage     80.50%   80.41%   -0.10%     
============================================
  Files            24       24              
  Lines          4253     4253              
============================================
- Hits           3424     3420       -4     
- Misses          829      833       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hsivonen hsivonen requested a review from valenting October 29, 2024 17:09
url/Cargo.toml Show resolved Hide resolved
@hsivonen hsivonen merged commit 7ead88b into servo:idna-v1x Nov 4, 2024
14 checks passed
@hsivonen hsivonen deleted the urlversion branch November 4, 2024 08:46
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2024
* Adjust Punycode overflow checks

* The change made in 1.0.0 incorrectly assumed that the input length
  limit removed the need to do overflow check when decoding. Now the
  internal-caller length limit is taken as a permission to skip
  overflow checks only when encoding.
* The RFC gives overflow checking pre-flight math for languages like
  that don't have checked math. Since Rust does, the code now uses
  checked_add and checked_mul instead of pre-flight when overflow
  checks are performed.

* Remove no_std category (crates.io doesn't support it, and it is now rejected), use keywords instead

* Add benches that use the main idna 1.0 entry point in idna and url

* Put the Unicode back end behind an adapter crate

* Split fastest ASCII fast path from the rest

* Bench hyphen in a domain that is otherwise lower-case ASCII

* Adjust MSRV

* Add README remarks about alternative Unicode back ends

* Change the idna_adapter dependency to crates.io

* Address clippy lints

* Increment version number of idna to 1.0.3

* Test MSRV with idna unicode-rs back end and test ICU4X back end with 1.67

* Prepare url crate for publication with idna 1.0.3 (#987)

---------

Co-authored-by: Manish Goregaokar <[email protected]>
Co-authored-by: Valentin Gosu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants