More Cargo.toml cleanups

This commit is contained in:
Alex Touchet 2020-05-14 22:20:18 -07:00 committed by GitHub
parent e1cc38bea8
commit d132866c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 128 additions and 129 deletions

View file

@ -14,18 +14,18 @@ name = "servo_config"
path = "lib.rs"
[dependencies]
euclid = "0.20"
embedder_traits = { path = "../embedder_traits" }
euclid = "0.20"
getopts = "0.2.11"
lazy_static = "1"
log = "0.4"
num_cpus = "1.1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
servo_config_plugins = { path = "../config_plugins" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
url = "2.0"
servo_config_plugins = { path = "../config_plugins" }
[dev-dependencies]
std_test_override = { path = "../std_test_override" }

View file

@ -12,7 +12,7 @@ proc-macro = true
path = "lib.rs"
[dependencies]
syn = { version = "1", default-features = false, features = ["clone-impls", "parsing"] }
quote = "1"
proc-macro2 = "1"
itertools = "0.8"
proc-macro2 = "1"
quote = "1"
syn = { version = "1", default-features = false, features = ["clone-impls", "parsing"] }

View file

@ -12,5 +12,5 @@ proc-macro = true
[dependencies]
proc-macro2 = "1"
syn = { version = "1", default-features = false, features = ["clone-impls", "derive", "parsing"] }
quote = "1"
syn = { version = "1", default-features = false, features = ["clone-impls", "derive", "parsing"] }

View file

@ -17,8 +17,8 @@ keyboard-types = "0.4.3"
lazy_static = "1"
log = "0.4"
msg = { path = "../msg" }
num-traits = "0.2"
num-derive = "0.3"
num-traits = "0.2"
serde = "1.0"
servo_url = { path = "../url" }
webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -10,16 +10,16 @@ name = "fallible"
path = "lib.rs"
[dependencies]
smallvec = "1.0"
hashglobe = { path = "../hashglobe" }
smallvec = "1.0"
# This crate effectively does nothing except if the `known_system_malloc`
# feature is specified.
#
# In that case, we actually call the system malloc functions to reserve space,
# otherwise we just let rust do its thing (aborting on OOM).
# otherwise we just let Rust do its thing (aborting on OOM).
#
# This is effectively a stop-gap measure until we can do this properly in
# stable rust.
# stable Rust.
[features]
known_system_malloc = []

View file

@ -35,11 +35,11 @@ servo_url = {path = "../url"}
smallvec = { version = "0.6", features = ["std", "union"] }
style = { path = "../style", features = ["servo"] }
time = "0.1.12"
ucd = "0.1.1"
unicode-bidi = { version = "0.3", features = ["with_serde"] }
unicode-script = { version = "0.3", features = ["harfbuzz"] }
webrender_api = { git = "https://github.com/servo/webrender" }
xi-unicode = "0.1.0"
ucd = "0.1.1"
[target.'cfg(target_os = "macos")'.dependencies]
byteorder = "1.0"

View file

@ -6,7 +6,6 @@ license = "MIT/Apache-2.0"
description = "Fork of std::HashMap with stable fallible allocation."
documentation = "https://docs.rs/hashglobe"
repository = "https://github.com/Manishearth/hashglobe"
readme = "README.md"
[dependencies]

View file

@ -40,11 +40,11 @@ rayon = "1"
script_layout_interface = { path = "../script_layout_interface" }
script_traits = { path = "../script_traits" }
serde = "1.0"
serde_json = "1.0"
servo_arc = { path = "../servo_arc" }
servo_atoms = { path = "../atoms" }
servo_geometry = {path = "../geometry"}
serde_json = "1.0"
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
smallvec = { version = "0.6", features = ["std", "union"] }
style = { path = "../style", features = ["servo", "servo-layout-2013"] }

View file

@ -26,8 +26,8 @@ html5ever = "0.25"
ipc-channel = "0.14"
libc = "0.2"
log = "0.4"
msg = {path = "../msg"}
mitochondria = "1.1.2"
msg = { path = "../msg" }
net_traits = { path = "../net_traits" }
parking_lot = "0.9"
range = { path = "../range" }

View file

@ -28,7 +28,6 @@ layout_traits = {path = "../layout_traits"}
lazy_static = "1"
libc = "0.2"
log = "0.4"
time = "0.1.17"
malloc_size_of = { path = "../malloc_size_of" }
metrics = { path = "../metrics" }
msg = { path = "../msg" }
@ -50,4 +49,5 @@ servo_geometry = {path = "../geometry"}
servo_url = { path = "../url" }
style = { path = "../style" }
style_traits = { path = "../style_traits" }
time = "0.1.17"
webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -27,7 +27,6 @@ layout_traits = {path = "../layout_traits"}
lazy_static = "1"
libc = "0.2"
log = "0.4"
time = "0.1.17"
malloc_size_of = { path = "../malloc_size_of" }
metrics = { path = "../metrics" }
msg = { path = "../msg" }
@ -47,4 +46,5 @@ servo_geometry = {path = "../geometry"}
servo_url = { path = "../url" }
style = { path = "../style" }
style_traits = { path = "../style_traits" }
time = "0.1.17"
webrender_api = { git = "https://github.com/servo/webrender" }

View file

@ -20,6 +20,6 @@ msg = {path = "../msg"}
net_traits = { path = "../net_traits" }
profile_traits = { path = "../profile_traits" }
script_traits = { path = "../script_traits" }
servo_url = {path = "../url"}
servo_geometry = { path = "../geometry" }
servo_url = { path = "../url" }
webrender_api = { git = "https://github.com/servo/webrender" }