From f507dd6da5d59335feca46c3f29f1168c1d4d4b8 Mon Sep 17 00:00:00 2001 From: David Pitoniak Date: Sun, 17 Nov 2024 12:42:40 -0500 Subject: [PATCH] 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 https://github.com/rust-lang/rust/issues/103765 https://github.com/servo/rust-url/blob/main/url/Cargo.toml#L35 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3e123b901e..be7b94c400 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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