diff --git a/Cargo.lock b/Cargo.lock index 4a74f2fd045..de94136a0a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1692,6 +1692,7 @@ dependencies = [ "serde 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-websocket 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", "servo_config 0.0.1", "servo_url 0.0.1", "threadpool 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1701,7 +1702,6 @@ dependencies = [ "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "webrender_traits 0.22.0 (git+https://github.com/servo/webrender)", - "websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1755,12 +1755,12 @@ dependencies = [ "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-websocket 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", "servo_config 0.0.1", "servo_url 0.0.1", "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "webrender_traits 0.22.0 (git+https://github.com/servo/webrender)", - "websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2285,6 +2285,7 @@ dependencies = [ "selectors 0.18.0", "serde 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", + "servo-websocket 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)", "servo_atoms 0.0.1", "servo_config 0.0.1", "servo_geometry 0.0.1", @@ -2298,7 +2299,6 @@ dependencies = [ "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "webrender_traits 0.22.0 (git+https://github.com/servo/webrender)", - "websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)", "webvr 0.0.1", "webvr_traits 0.0.1", "xml5ever 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2530,6 +2530,22 @@ dependencies = [ "x11 2.12.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "servo-websocket" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hyper 0.9.18 (registry+https://github.com/rust-lang/crates.io-index)", + "net2 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", + "unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "servo_atoms" version = "0.0.1" @@ -3203,22 +3219,6 @@ dependencies = [ "serde_derive 0.9.7 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "websocket" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "hyper 0.9.18 (registry+https://github.com/rust-lang/crates.io-index)", - "net2 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", - "unicase 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "webvr" version = "0.0.1" @@ -3513,6 +3513,7 @@ dependencies = [ "checksum servo-freetype-sys 4.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9232032c2e85118c0282c6562c84cab12316e655491ba0a5d1905b2320060d1b" "checksum servo-glutin 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "51b682e1eef598db6048b64face7ea79fd55fe70d171cb92d2a44a89db7bdf34" "checksum servo-skia 0.30000003.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e7107296909e71f69a7e8b95becf3efe3e1838e556430b3efc9dc91aea65ddf2" +"checksum servo-websocket 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a7445fde9aacb9a1f493652ab02ac0fb7a8bfe1e6cd762f7bd44b839a5d5e4c" "checksum sha1 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cc30b1e1e8c40c121ca33b86c23308a090d19974ef001b4bf6e61fd1a0fb095c" "checksum shared_library 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb04126b6fcfd2710fb5b6d18f4207b6c535f2850a7e1a43bcd526d44f30a79a" "checksum shell32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "72f20b8f3c060374edb8046591ba28f62448c369ccbdc7b02075103fb3a9e38d" @@ -3569,7 +3570,6 @@ dependencies = [ "checksum webdriver 0.20.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cdc28802daddee94267a657ffeac2593a33881fb7a3a44fedd320b1319efcaf6" "checksum webrender 0.21.0 (git+https://github.com/servo/webrender)" = "" "checksum webrender_traits 0.22.0 (git+https://github.com/servo/webrender)" = "" -"checksum websocket 0.17.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4a1a6ea5ed0367f32eb3d94dcc58859ef4294b5f75ba983dbf56ac314af45d" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" "checksum ws 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "04614a58714f3fd4a8b1da4bcae9f031c532d35988c3d39627619248113f8be8" diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index 7147236fe8b..df7e7dc357b 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -35,13 +35,13 @@ serde_derive = "0.9" serde_json = "0.9" servo_config = {path = "../config"} servo_url = {path = "../url"} +servo-websocket = "0.18" threadpool = "1.0" time = "0.1.17" unicase = "1.4.0" url = {version = "1.2", features = ["heap_size"]} uuid = {version = "0.4", features = ["v4"]} webrender_traits = {git = "https://github.com/servo/webrender", features = ["ipc"]} -websocket = "0.17" [target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))'.dependencies] tinyfiledialogs = "2.5.9" diff --git a/components/net_traits/Cargo.toml b/components/net_traits/Cargo.toml index 295ba8f976c..87dc784bbd6 100644 --- a/components/net_traits/Cargo.toml +++ b/components/net_traits/Cargo.toml @@ -25,7 +25,7 @@ serde = "0.9" serde_derive = "0.9" servo_config = {path = "../config", features = ["servo"]} servo_url = {path = "../url", features = ["servo"]} +servo-websocket = "0.18" url = {version = "1.2", features = ["heap_size"]} uuid = {version = "0.4", features = ["v4", "serde"]} webrender_traits = {git = "https://github.com/servo/webrender", features = ["ipc"]} -websocket = "0.17" diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 4567bab4272..ff69fd74bf2 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -80,13 +80,13 @@ servo_config = {path = "../config", features = ["servo"] } servo_geometry = {path = "../geometry" } servo_rand = {path = "../rand"} servo_url = {path = "../url", features = ["servo"] } +servo-websocket = "0.18" smallvec = "0.1" style = {path = "../style"} style_traits = {path = "../style_traits"} time = "0.1.12" url = {version = "1.2", features = ["heap_size", "query_encoding"]} uuid = {version = "0.4", features = ["v4"]} -websocket = "0.17" xml5ever = {version = "0.4", features = ["unstable"]} webrender_traits = {git = "https://github.com/servo/webrender", features = ["ipc"]} webvr = {path = "../webvr"} diff --git a/servo-tidy.toml b/servo-tidy.toml index 2a28326cb9f..9cd6f794aec 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -21,10 +21,10 @@ rand = [ "phf_generator", "rayon", "servo_rand", + "servo-websocket", "tempdir", "tempfile", "uuid", - "websocket", "ws", ] num = []