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"