From 5f56093d87711c68fc8cab133251853c8b4ed12c Mon Sep 17 00:00:00 2001 From: atouchet Date: Mon, 25 May 2020 11:34:37 -0700 Subject: [PATCH] More Cargo.toml updates --- components/malloc_size_of/Cargo.toml | 14 +++++++------- components/media/Cargo.toml | 8 ++++---- components/metrics/Cargo.toml | 12 ++++++------ components/msg/Cargo.toml | 8 ++++---- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/components/malloc_size_of/Cargo.toml b/components/malloc_size_of/Cargo.toml index a9aefda2d12c..77915f1fa67c 100644 --- a/components/malloc_size_of/Cargo.toml +++ b/components/malloc_size_of/Cargo.toml @@ -10,6 +10,8 @@ path = "lib.rs" [features] servo = [ + "accountable-refcell", + "content-security-policy", "crossbeam-channel", "hyper", "hyper_serde", @@ -19,24 +21,22 @@ servo = [ "string_cache", "time", "url", + "uuid", "webrender_api", "xml5ever", - "content-security-policy", - "uuid", - "accountable-refcell", ] [dependencies] accountable-refcell = { version = "0.2.0", optional = true } app_units = "0.7" -content-security-policy = {version = "0.4.0", features = ["serde"], optional = true} +content-security-policy = { version = "0.4.0", features = ["serde"], optional = true } crossbeam-channel = { version = "0.4", optional = true } cssparser = "0.27" euclid = "0.20" hashglobe = { path = "../hashglobe" } hyper = { version = "0.12", optional = true } hyper_serde = { version = "0.11", optional = true } -keyboard-types = {version = "0.4.3", optional = true} +keyboard-types = { version = "0.4.3", optional = true } selectors = { path = "../selectors" } serde = { version = "1.0.27", optional = true } serde_bytes = { version = "0.11", optional = true } @@ -47,7 +47,7 @@ string_cache = { version = "0.8", optional = true } thin-slice = "0.1.0" time = { version = "0.1.17", optional = true } url = { version = "2.0", optional = true } +uuid = { version = "0.8", features = ["v4"], optional = true } +void = "1.0.2" webrender_api = { git = "https://github.com/servo/webrender", optional = true } xml5ever = { version = "0.16", optional = true } -void = "1.0.2" -uuid = {version = "0.8", features = ["v4"], optional = true} diff --git a/components/media/Cargo.toml b/components/media/Cargo.toml index 5e3bd85a3aa8..6ef931ca4cc9 100644 --- a/components/media/Cargo.toml +++ b/components/media/Cargo.toml @@ -17,7 +17,7 @@ ipc-channel = "0.14" lazy_static = "1" log = "0.4" serde = "1.0" -servo_config = {path = "../config"} -servo-media = {git = "https://github.com/servo/media"} -webrender_api = {git = "https://github.com/servo/webrender"} -webrender_traits = {path = "../webrender_traits"} +servo-media = { git = "https://github.com/servo/media" } +servo_config = { path = "../config" } +webrender_api = { git = "https://github.com/servo/webrender" } +webrender_traits = { path = "../webrender_traits" } diff --git a/components/metrics/Cargo.toml b/components/metrics/Cargo.toml index 3bfb79fc4d9d..73fff7b84584 100644 --- a/components/metrics/Cargo.toml +++ b/components/metrics/Cargo.toml @@ -11,14 +11,14 @@ name = "metrics" path = "lib.rs" [dependencies] -gfx_traits = {path = "../gfx_traits"} +gfx_traits = { path = "../gfx_traits" } ipc-channel = "0.14" log = "0.4" malloc_size_of = { path = "../malloc_size_of" } malloc_size_of_derive = "0.1" -msg = {path = "../msg"} -profile_traits = {path = "../profile_traits"} -script_traits = {path = "../script_traits"} -servo_config = {path = "../config"} -servo_url = {path = "../url"} +msg = { path = "../msg" } +profile_traits = { path = "../profile_traits" } +script_traits = { path = "../script_traits" } +servo_config = { path = "../config" } +servo_url = { path = "../url" } time = "0.1" diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml index edbddfa3190b..ebcb26accee1 100644 --- a/components/msg/Cargo.toml +++ b/components/msg/Cargo.toml @@ -13,14 +13,14 @@ test = false doctest = false [dependencies] -lazy_static = "1" ipc-channel = "0.14" +lazy_static = "1" malloc_size_of = { path = "../malloc_size_of" } malloc_size_of_derive = "0.1" parking_lot = "0.9" serde = "1.0.60" -servo_url = {path = "../url"} -webrender_api = {git = "https://github.com/servo/webrender"} +servo_url = { path = "../url" } +webrender_api = { git = "https://github.com/servo/webrender" } [dev-dependencies] -size_of_test = {path = "../size_of_test"} +size_of_test = { path = "../size_of_test" }