From 48749641d3745bda5bba7eb8ff89bd05179169c2 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sat, 11 Jun 2022 20:34:18 +0000 Subject: [PATCH] style: Update derive_more to 0.99.17 Limit its features to those we actually use, which turns out is none for webrender_api. Differential Revision: https://phabricator.services.mozilla.com/D148734 --- components/selectors/Cargo.toml | 2 +- components/style/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/selectors/Cargo.toml b/components/selectors/Cargo.toml index 884f8c009ac..e0ee246dcea 100644 --- a/components/selectors/Cargo.toml +++ b/components/selectors/Cargo.toml @@ -22,7 +22,7 @@ shmem = ["dep:to_shmem", "dep:to_shmem_derive"] [dependencies] bitflags = "1.0" cssparser = "0.29" -derive_more = "0.99" +derive_more = { version = "0.99", default-features = false, features = ["add", "add_assign"] } fxhash = "0.2" log = "0.4" new_debug_unreachable = "1" diff --git a/components/style/Cargo.toml b/components/style/Cargo.toml index e5b9640b430..4ede46270ae 100644 --- a/components/style/Cargo.toml +++ b/components/style/Cargo.toml @@ -42,7 +42,7 @@ atomic_refcell = "0.1" bitflags = "1.0" byteorder = "1.0" cssparser = "0.29" -derive_more = "0.99" +derive_more = { version = "0.99", default-features = false, features = ["add", "add_assign", "deref", "from"] } encoding_rs = { version = "0.8", optional = true } euclid = "0.22" fxhash = "0.2"