More Cargo.toml updates

This commit is contained in:
atouchet 2020-05-25 11:34:37 -07:00
parent a39a0531d7
commit 5f56093d87
4 changed files with 21 additions and 21 deletions

View file

@ -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}

View file

@ -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" }

View file

@ -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"

View file

@ -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" }