Some Cargo.toml cleanups

This commit is contained in:
atouchet 2020-04-25 12:19:40 -07:00
parent e5a831682e
commit b5a3f016db
4 changed files with 73 additions and 73 deletions

View file

@ -11,40 +11,40 @@ name = "constellation"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
background_hang_monitor = { path = "../background_hang_monitor"} background_hang_monitor = { path = "../background_hang_monitor" }
backtrace = "0.3" backtrace = "0.3"
bluetooth_traits = { path = "../bluetooth_traits" } bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = {path = "../canvas_traits"} canvas_traits = { path = "../canvas_traits" }
compositing = {path = "../compositing"} compositing = { path = "../compositing" }
crossbeam-channel = "0.4" crossbeam-channel = "0.4"
debugger = {path = "../debugger"} debugger = { path = "../debugger" }
devtools_traits = {path = "../devtools_traits"} devtools_traits = { path = "../devtools_traits" }
euclid = "0.20"
embedder_traits = { path = "../embedder_traits" } embedder_traits = { path = "../embedder_traits" }
gfx = {path = "../gfx"} euclid = "0.20"
gfx_traits = {path = "../gfx_traits"} gfx = { path = "../gfx" }
gfx_traits = { path = "../gfx_traits" }
http = "0.1" http = "0.1"
ipc-channel = "0.14" ipc-channel = "0.14"
layout_traits = {path = "../layout_traits"}
keyboard-types = "0.4.3" keyboard-types = "0.4.3"
layout_traits = { path = "../layout_traits" }
log = "0.4" log = "0.4"
media = {path = "../media"} media = { path = "../media" }
metrics = {path = "../metrics"} metrics = { path = "../metrics" }
msg = {path = "../msg"} msg = { path = "../msg" }
net = {path = "../net"} net = { path = "../net" }
net_traits = {path = "../net_traits"} net_traits = { path = "../net_traits" }
profile_traits = {path = "../profile_traits"} profile_traits = { path = "../profile_traits" }
script_traits = {path = "../script_traits"} script_traits = { path = "../script_traits" }
serde = "1.0" serde = "1.0"
style_traits = {path = "../style_traits"} servo_config = { path = "../config" }
servo_config = {path = "../config"} servo_geometry = { path = "../geometry" }
servo_geometry = {path = "../geometry"} servo_rand = {path = "../rand" }
servo_rand = {path = "../rand"} servo_remutex = { path = "../remutex" }
servo_remutex = {path = "../remutex"} servo_url = { path = "../url" }
servo_url = {path = "../url"} style_traits = { path = "../style_traits" }
webgpu = {path = "../webgpu"} webgpu = { path = "../webgpu" }
webrender_api = {git = "https://github.com/servo/webrender"} webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]} webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
[target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm"), not(target_arch="aarch64")))'.dependencies] [target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm"), not(target_arch="aarch64")))'.dependencies]
gaol = "0.2.1" gaol = "0.2.1"

View file

@ -30,25 +30,25 @@ phf_shared = "0.8"
serde_json = "1.0" serde_json = "1.0"
[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"
backtrace = {version = "0.3", optional = true} backtrace = { version = "0.3", optional = true }
base64 = "0.10.1" base64 = "0.10.1"
bincode = "1" bincode = "1"
bitflags = "1.0" bitflags = "1.0"
bluetooth_traits = {path = "../bluetooth_traits"} bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = {path = "../canvas_traits"} canvas_traits = { path = "../canvas_traits" }
caseless = "0.2" caseless = "0.2"
content-security-policy = {version = "0.4.0", features = ["serde"]}
cookie = "0.11"
chrono = "0.4" chrono = "0.4"
content-security-policy = { version = "0.4.0", features = ["serde"] }
cookie = "0.11"
crossbeam-channel = "0.4" crossbeam-channel = "0.4"
cssparser = "0.27" cssparser = "0.27"
deny_public_fields = {path = "../deny_public_fields"} deny_public_fields = { path = "../deny_public_fields" }
devtools_traits = {path = "../devtools_traits"} devtools_traits = { path = "../devtools_traits" }
dom_struct = {path = "../dom_struct"} dom_struct = { path = "../dom_struct" }
domobject_derive = {path = "../domobject_derive"} domobject_derive = { path = "../domobject_derive" }
embedder_traits = {path = "../embedder_traits"} embedder_traits = { path = "../embedder_traits" }
encoding_rs = "0.8" encoding_rs = "0.8"
enum-iterator = "0.3" enum-iterator = "0.3"
euclid = "0.20" euclid = "0.20"
@ -62,61 +62,61 @@ image = "0.23"
indexmap = "1.0.2" indexmap = "1.0.2"
ipc-channel = "0.14" ipc-channel = "0.14"
itertools = "0.8" itertools = "0.8"
jstraceable_derive = {path = "../jstraceable_derive"} js = { package = "mozjs", git = "https://github.com/servo/rust-mozjs" }
js = {package = "mozjs", git = "https://github.com/servo/rust-mozjs"} jstraceable_derive = { path = "../jstraceable_derive" }
keyboard-types = "0.4.4" keyboard-types = "0.4.4"
lazy_static = "1" lazy_static = "1"
libc = "0.2" libc = "0.2"
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"
media = {path = "../media"} media = { path = "../media" }
metrics = {path = "../metrics"} metrics = { path = "../metrics" }
mitochondria = "1.1.2"
mime = "0.3.13" mime = "0.3.13"
mime_guess = "2.0.0-alpha.6" mime_guess = "2.0.0-alpha.6"
msg = {path = "../msg"} mitochondria = "1.1.2"
net_traits = {path = "../net_traits"} msg = { path = "../msg" }
net_traits = { path = "../net_traits" }
num-traits = "0.2" num-traits = "0.2"
parking_lot = "0.9" parking_lot = "0.9"
percent-encoding = "2.0" percent-encoding = "2.0"
phf = "0.8" phf = "0.8"
pixels = {path = "../pixels"} pixels = { path = "../pixels" }
profile_traits = {path = "../profile_traits"} profile_traits = { path = "../profile_traits" }
ref_filter_map = "1.0.1" ref_filter_map = "1.0.1"
ref_slice = "1.0" ref_slice = "1.0"
regex = "1.1" regex = "1.1"
script_layout_interface = {path = "../script_layout_interface"} script_layout_interface = { path = "../script_layout_interface" }
script_plugins = {path = "../script_plugins"} script_plugins = { path = "../script_plugins" }
script_traits = {path = "../script_traits"} script_traits = { path = "../script_traits" }
selectors = { path = "../selectors" } selectors = { path = "../selectors" }
serde = {version = "1", features = ["derive"]} serde = { version = "1", features = ["derive"] }
serde_bytes = "0.11" serde_bytes = "0.11"
servo_allocator = {path = "../allocator"} servo_allocator = { path = "../allocator" }
servo_arc = {path = "../servo_arc"} servo_arc = { path = "../servo_arc" }
servo_atoms = {path = "../atoms"} servo_atoms = { path = "../atoms" }
servo_config = {path = "../config"} servo_config = { path = "../config" }
servo_geometry = {path = "../geometry" } servo_geometry = { path = "../geometry" }
servo-media = {git = "https://github.com/servo/media"} servo_rand = { path = "../rand" }
servo_rand = {path = "../rand"} servo_url = { path = "../url" }
servo_url = {path = "../url"} servo-media = { git = "https://github.com/servo/media" }
sparkle = "0.1"
smallvec = { version = "0.6", features = ["std", "union"] } smallvec = { version = "0.6", features = ["std", "union"] }
style = {path = "../style", features = ["servo"]} sparkle = "0.1"
style_traits = {path = "../style_traits"} style = { path = "../style", features = ["servo"] }
style_traits = { path = "../style_traits" }
swapper = "0.1" swapper = "0.1"
tendril = {version = "0.4.1", features = ["encoding_rs"]} tendril = { version = "0.4.1", features = ["encoding_rs"] }
time = "0.1.12" time = "0.1.12"
unicode-bidi = "0.3.4" unicode-bidi = "0.3.4"
unicode-segmentation = "1.1.0" unicode-segmentation = "1.1.0"
url = "2.0" url = "2.0"
utf-8 = "0.7" utf-8 = "0.7"
uuid = {version = "0.8", features = ["v4", "serde"]} uuid = { version = "0.8", features = ["v4", "serde"] }
xml5ever = "0.16"
webdriver = "0.40" webdriver = "0.40"
webgpu = {path = "../webgpu"} webgpu = { path = "../webgpu" }
webrender_api = {git = "https://github.com/servo/webrender"} webrender_api = { git = "https://github.com/servo/webrender" }
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]} webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
xml5ever = "0.16"
[target.'cfg(not(target_os = "ios"))'.dependencies] [target.'cfg(not(target_os = "ios"))'.dependencies]
mozangle = "0.2" mozangle = "0.2"

View file

@ -55,15 +55,15 @@ getopts = "0.2.11"
gleam = "0.11" gleam = "0.11"
keyboard-types = "0.4.3" keyboard-types = "0.4.3"
lazy_static = "1" lazy_static = "1"
libservo = {path = "../../components/servo"}
libc = "0.2" libc = "0.2"
libservo = { path = "../../components/servo" }
log = "0.4" log = "0.4"
servo-media = {git = "https://github.com/servo/media"} servo-media = { git = "https://github.com/servo/media" }
shellwords = "1.0.0" shellwords = "1.0.0"
surfman = { version = "0.2", features = ["sm-winit", "sm-x11"] } surfman = { version = "0.2", features = ["sm-winit", "sm-x11"] }
tinyfiledialogs = "3.0" tinyfiledialogs = "3.0"
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] } webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] }
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
winit = "0.19" winit = "0.19"
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]

View file

@ -13,11 +13,11 @@ test = false
bench = false bench = false
[dependencies] [dependencies]
simpleservo = { path = "../api" }
log = "0.4"
lazy_static = "1"
env_logger = "0.7"
backtrace = "0.3" backtrace = "0.3"
env_logger = "0.7"
lazy_static = "1"
log = "0.4"
simpleservo = { path = "../api" }
surfman = "0.2" surfman = "0.2"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]