From 410ead20b074597349ce65e3d7f77682bcf938f9 Mon Sep 17 00:00:00 2001 From: Smitty Date: Sun, 11 Feb 2024 04:25:51 -0500 Subject: [PATCH] Explictly specify num_cpus version (#31310) This fixes a warning from Cargo about relying on deprecated behavior: ``` warning: /home/loops/src/servo/servo/components/script/Cargo.toml: dependency (num_cpus) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions warning: /home/loops/src/servo/servo/components/config/Cargo.toml: dependency (num_cpus) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions ``` --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 678c0d2d965..f89af108641 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ mime_guess = "2.0.3" mozangle = "0.5.1" msg = { path = "components/shared/msg" } net_traits = { path = "components/shared/net" } -num_cpus = { workspace = true } +num_cpus = "1.1.0" num-traits = "0.2" parking_lot = "0.12" percent-encoding = "2.3"