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

deps: enable std feature of url crate #2219

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

mxinden
Copy link
Collaborator

@mxinden mxinden commented Nov 5, 2024

url v0.5.3 and idna v1.0.3 added no-std support: servo/rust-url#831

Since Neqo sets default-features = false, the above would break Neqo.

Related: servo/rust-url#831

Sample CI failure: https://github.com/mozilla/neqo/actions/runs/11683021003/job/32531372545

`url` `v0.5.3` and `idna` `v1.0.3` added no-std support:
servo/rust-url#831

Since Neqo sets `default-features = false`, the above would break Neqo.

Related: servo/rust-url#831
@mxinden
Copy link
Collaborator Author

mxinden commented Nov 5, 2024

arbitrary failure should be due to rust-fuzz/arbitrary#202. Given that it is a transitive dependency, not sure how to set version in a non-hacky way. Give me a couple of minutes.

Copy link

github-actions bot commented Nov 5, 2024

Failed Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

@mxinden mxinden marked this pull request as ready for review November 6, 2024 10:00
@mxinden mxinden enabled auto-merge November 6, 2024 10:01
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.39%. Comparing base (b61136f) to head (13c1d83).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2219   +/-   ##
=======================================
  Coverage   95.39%   95.39%           
=======================================
  Files         112      112           
  Lines       36447    36447           
=======================================
  Hits        34767    34767           
  Misses       1680     1680           

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

@mxinden mxinden added this pull request to the merge queue Nov 6, 2024
Merged via the queue into mozilla:main with commit ad2c7d2 Nov 6, 2024
99 of 106 checks passed
@mxinden mxinden deleted the url-std branch November 6, 2024 10:18
@mxinden mxinden mentioned this pull request Nov 19, 2024
mxinden added a commit to mxinden/neqo that referenced this pull request Nov 19, 2024
mozilla-central depends on `url` `v2.5.1`:

https://searchfox.org/mozilla-central/rev/6050bf4eca89956c9d91bfd89fa59294ae32a689/Cargo.lock#6715-6725

The latest version of `url` is `v2.5.3`, which cargo automatically updates to,
given that `Cargo.lock` is not checked in.

`url` v0.2.5.3` introduced the `std` feature which breaks CI.
mozilla#2219 enabled the feature, unbreaking CI,
but breaking mozilla-central, given that mozilla-central still uses `url`
`v2.5.1` which does not have the the `std` feature.

This commit pins `url` to `v2.5.1` instead and removes the `std` feature.
github-merge-queue bot pushed a commit that referenced this pull request Nov 19, 2024
mozilla-central depends on `url` `v2.5.1`:

https://searchfox.org/mozilla-central/rev/6050bf4eca89956c9d91bfd89fa59294ae32a689/Cargo.lock#6715-6725

The latest version of `url` is `v2.5.3`, which cargo automatically updates to,
given that `Cargo.lock` is not checked in.

`url` v0.2.5.3` introduced the `std` feature which breaks CI.
#2219 enabled the feature, unbreaking CI,
but breaking mozilla-central, given that mozilla-central still uses `url`
`v2.5.1` which does not have the the `std` feature.

This commit pins `url` to `v2.5.1` instead and removes the `std` feature.
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