Skip to content

Commit f507dd6

Browse files
committed
fix: url needs std specified to compile idna
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
1 parent 3ac2d9f commit f507dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ tokio-stream = "0.1"
4747
tracing = { version = "0.1", default-features = false }
4848
tracing-core = { version = "0.1", default-features = false }
4949
tracing-subscriber = { version = "0.3", default-features = false }
50-
url = { version = "2.5.2", default-features = false } #https://github.com/servo/rust-url/issues/992
50+
url = { version = "2.5.2", features = ["std"], default-features = false } #https://github.com/servo/rust-url/issues/992

0 commit comments

Comments
 (0)