mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update websocket
This commit is contained in:
parent
aae6525f7d
commit
4c72be6911
7 changed files with 17 additions and 17 deletions
|
@ -42,5 +42,5 @@ mime_guess = "1.1.1"
|
||||||
flate2 = "0.2.0"
|
flate2 = "0.2.0"
|
||||||
uuid = "0.1.16"
|
uuid = "0.1.16"
|
||||||
url = {version = "0.5.5", features = ["heap_size"]}
|
url = {version = "0.5.5", features = ["heap_size"]}
|
||||||
websocket = "0.14.0"
|
websocket = "0.15.0"
|
||||||
immeta = "0.3.1"
|
immeta = "0.3.1"
|
||||||
|
|
|
@ -13,12 +13,12 @@ use std::ascii::AsciiExt;
|
||||||
use std::sync::{Arc, Mutex, RwLock};
|
use std::sync::{Arc, Mutex, RwLock};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
use util::thread::spawn_named;
|
use util::thread::spawn_named;
|
||||||
use websocket::client::receiver::Receiver;
|
|
||||||
use websocket::client::request::Url;
|
use websocket::client::request::Url;
|
||||||
use websocket::client::sender::Sender;
|
|
||||||
use websocket::header::{Headers, Origin, WebSocketProtocol};
|
use websocket::header::{Headers, Origin, WebSocketProtocol};
|
||||||
use websocket::message::Type;
|
use websocket::message::Type;
|
||||||
|
use websocket::receiver::Receiver;
|
||||||
use websocket::result::{WebSocketError, WebSocketResult};
|
use websocket::result::{WebSocketError, WebSocketResult};
|
||||||
|
use websocket::sender::Sender;
|
||||||
use websocket::stream::WebSocketStream;
|
use websocket::stream::WebSocketStream;
|
||||||
use websocket::ws::receiver::Receiver as WSReceiver;
|
use websocket::ws::receiver::Receiver as WSReceiver;
|
||||||
use websocket::ws::sender::Sender as Sender_Object;
|
use websocket::ws::sender::Sender as Sender_Object;
|
||||||
|
|
|
@ -29,4 +29,4 @@ serde = "0.6"
|
||||||
serde_macros = "0.6"
|
serde_macros = "0.6"
|
||||||
stb_image = "0.2"
|
stb_image = "0.2"
|
||||||
url = {version = "0.5.5", features = ["heap_size"]}
|
url = {version = "0.5.5", features = ["heap_size"]}
|
||||||
websocket = "0.14.0"
|
websocket = "0.15.0"
|
||||||
|
|
|
@ -89,4 +89,4 @@ time = "0.1.12"
|
||||||
unicase = "1.0"
|
unicase = "1.0"
|
||||||
url = {version = "0.5.5", features = ["heap_size"]}
|
url = {version = "0.5.5", features = ["heap_size"]}
|
||||||
uuid = "0.1.16"
|
uuid = "0.1.16"
|
||||||
websocket = "0.14.0"
|
websocket = "0.15.0"
|
||||||
|
|
8
components/servo/Cargo.lock
generated
8
components/servo/Cargo.lock
generated
|
@ -1229,7 +1229,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1280,7 +1280,7 @@ dependencies = [
|
||||||
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1631,7 +1631,7 @@ dependencies = [
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -2244,7 +2244,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.14.0"
|
version = "0.15.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
8
ports/cef/Cargo.lock
generated
8
ports/cef/Cargo.lock
generated
|
@ -1159,7 +1159,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1191,7 +1191,7 @@ dependencies = [
|
||||||
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1517,7 +1517,7 @@ dependencies = [
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -2130,7 +2130,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.14.0"
|
version = "0.15.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
8
ports/gonk/Cargo.lock
generated
8
ports/gonk/Cargo.lock
generated
|
@ -1140,7 +1140,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
"webrender_traits 0.1.0 (git+https://github.com/glennw/webrender_traits)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1172,7 +1172,7 @@ dependencies = [
|
||||||
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"stb_image 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1498,7 +1498,7 @@ dependencies = [
|
||||||
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"websocket 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
"xml5ever 0.1.1 (git+https://github.com/Ygg01/xml5ever)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -2078,7 +2078,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.14.0"
|
version = "0.15.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue