Bug 1643201 - Cherry-pick some Servo Cargo.toml cleanups.

Depends on D78200

Differential Revision: https://phabricator.services.mozilla.com/D78201
This commit is contained in:
Emilio Cobos Álvarez 2020-06-04 00:35:19 +00:00
Родитель fa85c059f7
Коммит 1afb168e99
6 изменённых файлов: 17 добавлений и 19 удалений

Просмотреть файл

@ -10,5 +10,5 @@ name = "fallible"
path = "lib.rs"
[dependencies]
smallvec = "1.0"
hashbrown = "0.7"
smallvec = "1.0"

Просмотреть файл

@ -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.3.0", features = ["serde"], optional = true}
crossbeam-channel = { version = "0.3", 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"
hashbrown = "0.7"
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}

Просмотреть файл

@ -1,10 +1,8 @@
[package]
name = "selectors"
version = "0.22.0"
authors = ["The Servo Project Developers"]
documentation = "https://docs.rs/selectors/"
description = "CSS Selectors matching for Rust"
repository = "https://github.com/servo/servo"
readme = "README.md"
@ -24,8 +22,8 @@ bitflags = "1.0"
matches = "0.1"
cssparser = "0.27"
derive_more = "0.99"
log = "0.4"
fxhash = "0.2"
log = "0.4"
phf = "0.8"
precomputed-hash = "0.1"
servo_arc = { version = "0.1", path = "../servo_arc" }

Просмотреть файл

@ -11,10 +11,10 @@ name = "servo_arc"
path = "lib.rs"
[features]
servo = ["serde"]
gecko_refcount_logging = []
servo = ["serde"]
[dependencies]
nodrop = {version = "0.1.8"}
serde = {version = "1.0", optional = true}
nodrop = { version = "0.1.8" }
serde = { version = "1.0", optional = true }
stable_deref_trait = "1.0.0"

Просмотреть файл

@ -1,6 +1,6 @@
servo-style
===========
Style system for Servo, using [rust-cssparser](https://github.com/mozilla-servo/rust-cssparser) for parsing.
Style system for Servo, using [rust-cssparser](https://github.com/servo/rust-cssparser) for parsing.
* [Documentation](https://github.com/servo/servo/blob/master/docs/components/style.md).

Просмотреть файл

@ -15,17 +15,17 @@ gecko = []
[dependencies]
app_units = "0.7"
cssparser = "0.27"
bitflags = "1.0"
cssparser = "0.27"
euclid = "0.20"
lazy_static = "1"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
selectors = { path = "../selectors" }
serde = "1.0"
webrender_api = {git = "https://github.com/servo/webrender", optional = true}
servo_atoms = {path = "../atoms", optional = true}
servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms", optional = true }
servo_url = { path = "../url", optional = true }
to_shmem = { path = "../to_shmem" }
to_shmem_derive = { path = "../to_shmem_derive" }
webrender_api = { git = "https://github.com/servo/webrender", optional = true }