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] [features]
servo = [ servo = [
"accountable-refcell",
"content-security-policy",
"crossbeam-channel", "crossbeam-channel",
"hyper", "hyper",
"hyper_serde", "hyper_serde",
@ -19,24 +21,22 @@ servo = [
"string_cache", "string_cache",
"time", "time",
"url", "url",
"uuid",
"webrender_api", "webrender_api",
"xml5ever", "xml5ever",
"content-security-policy",
"uuid",
"accountable-refcell",
] ]
[dependencies] [dependencies]
accountable-refcell = { version = "0.2.0", optional = true } accountable-refcell = { version = "0.2.0", optional = true }
app_units = "0.7" 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 } crossbeam-channel = { version = "0.4", optional = true }
cssparser = "0.27" cssparser = "0.27"
euclid = "0.20" euclid = "0.20"
hashglobe = { path = "../hashglobe" } hashglobe = { path = "../hashglobe" }
hyper = { version = "0.12", optional = true } hyper = { version = "0.12", optional = true }
hyper_serde = { version = "0.11", 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" } selectors = { path = "../selectors" }
serde = { version = "1.0.27", optional = true } serde = { version = "1.0.27", optional = true }
serde_bytes = { version = "0.11", 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" thin-slice = "0.1.0"
time = { version = "0.1.17", optional = true } time = { version = "0.1.17", optional = true }
url = { version = "2.0", 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 } webrender_api = { git = "https://github.com/servo/webrender", optional = true }
xml5ever = { version = "0.16", 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" lazy_static = "1"
log = "0.4" log = "0.4"
serde = "1.0" serde = "1.0"
servo_config = {path = "../config"} servo-media = { git = "https://github.com/servo/media" }
servo-media = {git = "https://github.com/servo/media"} servo_config = { path = "../config" }
webrender_api = {git = "https://github.com/servo/webrender"} webrender_api = { git = "https://github.com/servo/webrender" }
webrender_traits = {path = "../webrender_traits"} webrender_traits = { path = "../webrender_traits" }

View file

@ -11,14 +11,14 @@ name = "metrics"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
gfx_traits = {path = "../gfx_traits"} gfx_traits = { path = "../gfx_traits" }
ipc-channel = "0.14" ipc-channel = "0.14"
log = "0.4" log = "0.4"
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = "0.1"
msg = {path = "../msg"} msg = { path = "../msg" }
profile_traits = {path = "../profile_traits"} profile_traits = { path = "../profile_traits" }
script_traits = {path = "../script_traits"} script_traits = { path = "../script_traits" }
servo_config = {path = "../config"} servo_config = { path = "../config" }
servo_url = {path = "../url"} servo_url = { path = "../url" }
time = "0.1" time = "0.1"

View file

@ -13,14 +13,14 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
lazy_static = "1"
ipc-channel = "0.14" ipc-channel = "0.14"
lazy_static = "1"
malloc_size_of = { path = "../malloc_size_of" } malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1" malloc_size_of_derive = "0.1"
parking_lot = "0.9" parking_lot = "0.9"
serde = "1.0.60" serde = "1.0.60"
servo_url = {path = "../url"} servo_url = { path = "../url" }
webrender_api = {git = "https://github.com/servo/webrender"} webrender_api = { git = "https://github.com/servo/webrender" }
[dev-dependencies] [dev-dependencies]
size_of_test = {path = "../size_of_test"} size_of_test = { path = "../size_of_test" }