From c79a9c8bbe598a1943def28d26d60002f7c6fde5 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 27 Jun 2024 03:07:14 +0000 Subject: [PATCH] Bug 1904735 - Replace deprecated default_features with default-features. r=firefox-build-system-reviewers,gfx-reviewers,application-update-reviewers,nalexander,gw Differential Revision: https://phabricator.services.mozilla.com/D214905 --- gfx/wr/examples/Cargo.toml | 2 +- gfx/wr/wr_glyph_rasterizer/Cargo.toml | 2 +- gfx/wr/wrench/Cargo.toml | 2 +- toolkit/components/bitsdownload/bits_client/Cargo.toml | 2 +- toolkit/library/rust/shared/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/wr/examples/Cargo.toml b/gfx/wr/examples/Cargo.toml index 9065707538a5..cb928d4ae2ee 100644 --- a/gfx/wr/examples/Cargo.toml +++ b/gfx/wr/examples/Cargo.toml @@ -55,7 +55,7 @@ debug = ["webrender/capture", "webrender/profiler"] [dependencies] app_units = "0.7" -env_logger = { version = "0.10", default_features = false } +env_logger = { version = "0.10", default-features = false } euclid = "0.22" gleam = "0.15" glutin = "0.28" diff --git a/gfx/wr/wr_glyph_rasterizer/Cargo.toml b/gfx/wr/wr_glyph_rasterizer/Cargo.toml index 079f5adae846..23bdba5f84c9 100644 --- a/gfx/wr/wr_glyph_rasterizer/Cargo.toml +++ b/gfx/wr/wr_glyph_rasterizer/Cargo.toml @@ -30,7 +30,7 @@ firefox-on-glean = { version = "0.1.0", optional = true } serde = { optional = true, version = "1.0", features = ["serde_derive"] } [dev-dependencies] -env_logger = { version = "0.10", default_features = false } +env_logger = { version = "0.10", default-features = false } euclid = "0.22" gleam = "0.15" glutin = "0.28" diff --git a/gfx/wr/wrench/Cargo.toml b/gfx/wr/wrench/Cargo.toml index 0dac41db9b6e..143c0b4cc131 100644 --- a/gfx/wr/wrench/Cargo.toml +++ b/gfx/wr/wrench/Cargo.toml @@ -13,7 +13,7 @@ path = "src/main.rs" [dependencies] base64 = "0.13" -env_logger = { version = "0.10", optional = true, default_features = false } +env_logger = { version = "0.10", optional = true, default-features = false } gleam = "0.15" glutin = "0.28" clap = { version = "3.1", features = ["yaml"] } diff --git a/toolkit/components/bitsdownload/bits_client/Cargo.toml b/toolkit/components/bitsdownload/bits_client/Cargo.toml index eb0083d8e2bc..0c2badd857d8 100644 --- a/toolkit/components/bitsdownload/bits_client/Cargo.toml +++ b/toolkit/components/bitsdownload/bits_client/Cargo.toml @@ -15,5 +15,5 @@ thiserror = "1" #ctrlc = "3.1.1" lazy_static = "1.0.1" rand = "0.8" -regex = { version = "1", default_features = false, features = ["perf", "std"] } +regex = { version = "1", default-features = false, features = ["perf", "std"] } tempfile = "3" diff --git a/toolkit/library/rust/shared/Cargo.toml b/toolkit/library/rust/shared/Cargo.toml index e58678750df8..b2c4c034bf1d 100644 --- a/toolkit/library/rust/shared/Cargo.toml +++ b/toolkit/library/rust/shared/Cargo.toml @@ -45,7 +45,7 @@ storage = { path = "../../../../storage/rust" } bookmark_sync = { path = "../../../components/places/bookmark_sync", optional = true } buildid_reader = { path = "../../buildid_reader" } chardetng_c = "0.1.1" -audio_thread_priority = { version = "0.32", default_features = false } +audio_thread_priority = { version = "0.32", default-features = false } mdns_service = { path="../../../../dom/media/webrtc/transport/mdns_service", optional = true } neqo_glue = { path = "../../../../netwerk/socket/neqo_glue" } wgpu_bindings = { path = "../../../../gfx/wgpu_bindings" }