From e7e52d855b47365e3b883a121f607c48172d84f1 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 19 Apr 2018 16:55:33 +0200 Subject: [PATCH] Fix building servo_url by itself Fix #20664 --- components/url/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/url/Cargo.toml b/components/url/Cargo.toml index cbd96488918..46aee70b733 100644 --- a/components/url/Cargo.toml +++ b/components/url/Cargo.toml @@ -10,9 +10,9 @@ name = "servo_url" path = "lib.rs" [dependencies] -malloc_size_of = { path = "../malloc_size_of" } +malloc_size_of = { path = "../malloc_size_of", features = ["servo"] } malloc_size_of_derive = { path = "../malloc_size_of_derive" } -serde = {version = "1.0"} +serde = {version = "1.0", features = ["derive"]} servo_rand = {path = "../rand"} url = "1.2" url_serde = {version = "0.2"}