Skip to content

Commit

Permalink
fix: url needs std specified to compile idna
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pitoniak32 committed Nov 17, 2024
1 parent 3ac2d9f commit f507dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ tokio-stream = "0.1"
tracing = { version = "0.1", default-features = false }
tracing-core = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false }
url = { version = "2.5.2", default-features = false } #https://github.com/servo/rust-url/issues/992
url = { version = "2.5.2", features = ["std"], default-features = false } #https://github.com/servo/rust-url/issues/992

0 comments on commit f507dd6

Please sign in to comment.