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

fix: url needs std specified to compile idna #2302

Closed

Conversation

pitoniak32
Copy link
Contributor

Changes

idna dep of url is failing to compile on stable because default_features is false. std is a default feature that disables the unstable use of error_in_core.

error[E0658]: use of unstable library feature 'error_in_core'
error: could not compile `idna` (lib) due to previous error

rust-lang/rust#103765
https://github.com/servo/rust-url/blob/main/url/Cargo.toml#L35

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

idna dep of url is failing to compile on stable because default_features is false.
std is a default feature that disables the unstable use of error_in_core.

error[E0658]: use of unstable library feature 'error_in_core'
error: could not compile `idna` (lib) due to previous error

rust-lang/rust#103765
https://github.com/servo/rust-url/blob/main/url/Cargo.toml#L35
@pitoniak32 pitoniak32 requested a review from a team as a code owner November 17, 2024 17:46
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.6%. Comparing base (3ac2d9f) to head (f507dd6).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #2302   +/-   ##
=====================================
  Coverage   79.6%   79.6%           
=====================================
  Files        123     123           
  Lines      21263   21263           
=====================================
+ Hits       16938   16940    +2     
+ Misses      4325    4323    -2     

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

@pitoniak32 pitoniak32 closed this Nov 17, 2024
@pitoniak32 pitoniak32 deleted the fix/url-missing-feature branch November 17, 2024 17:57
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.

1 participant