mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Upgrade to Hyper 0.4.0
This commit is contained in:
parent
f4381a6f1e
commit
8292f5749e
12 changed files with 97 additions and 39 deletions
|
@ -20,4 +20,4 @@ path = "../util"
|
||||||
time = "*"
|
time = "*"
|
||||||
rustc-serialize = "0.3"
|
rustc-serialize = "0.3"
|
||||||
url = "*"
|
url = "*"
|
||||||
hyper = "*"
|
hyper = "0.4"
|
||||||
|
|
|
@ -17,4 +17,4 @@ path = "../util"
|
||||||
time = "*"
|
time = "*"
|
||||||
rustc-serialize = "0.3"
|
rustc-serialize = "0.3"
|
||||||
url = "*"
|
url = "*"
|
||||||
hyper = "*"
|
hyper = "0.4"
|
||||||
|
|
|
@ -38,4 +38,4 @@ git = "https://github.com/servo/rust-png"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
url = "0.2.16"
|
url = "0.2.16"
|
||||||
bitflags = "*"
|
bitflags = "*"
|
||||||
hyper = "0.3"
|
hyper = "0.4"
|
||||||
|
|
|
@ -30,6 +30,6 @@ rustc-serialize = "0.3"
|
||||||
cookie="*"
|
cookie="*"
|
||||||
regex = "0.1.14"
|
regex = "0.1.14"
|
||||||
regex_macros = "0.1.8"
|
regex_macros = "0.1.8"
|
||||||
hyper = "0.3"
|
hyper = "0.4"
|
||||||
flate2 = "0.2.0"
|
flate2 = "0.2.0"
|
||||||
uuid = "0.1.16"
|
uuid = "0.1.16"
|
||||||
|
|
|
@ -14,7 +14,7 @@ use file_loader;
|
||||||
use flate2::read::{DeflateDecoder, GzDecoder};
|
use flate2::read::{DeflateDecoder, GzDecoder};
|
||||||
use hyper::client::Request;
|
use hyper::client::Request;
|
||||||
use hyper::header::{AcceptEncoding, Accept, ContentLength, ContentType, Host, Location, qitem, Quality, QualityItem};
|
use hyper::header::{AcceptEncoding, Accept, ContentLength, ContentType, Host, Location, qitem, Quality, QualityItem};
|
||||||
use hyper::HttpError;
|
use hyper::Error as HttpError;
|
||||||
use hyper::method::Method;
|
use hyper::method::Method;
|
||||||
use hyper::mime::{Mime, TopLevel, SubLevel};
|
use hyper::mime::{Mime, TopLevel, SubLevel};
|
||||||
use hyper::net::HttpConnector;
|
use hyper::net::HttpConnector;
|
||||||
|
@ -135,7 +135,7 @@ reason: \"certificate verify failed\" }]))";
|
||||||
|
|
||||||
let mut req = match Request::with_connector(load_data.method.clone(), url.clone(), &mut connector) {
|
let mut req = match Request::with_connector(load_data.method.clone(), url.clone(), &mut connector) {
|
||||||
Ok(req) => req,
|
Ok(req) => req,
|
||||||
Err(HttpError::HttpIoError(ref io_error)) if (
|
Err(HttpError::Io(ref io_error)) if (
|
||||||
io_error.kind() == io::ErrorKind::Other &&
|
io_error.kind() == io::ErrorKind::Other &&
|
||||||
io_error.description() == "Error in OpenSSL" &&
|
io_error.description() == "Error in OpenSSL" &&
|
||||||
// FIXME: This incredibly hacky. Make it more robust, and at least test it.
|
// FIXME: This incredibly hacky. Make it more robust, and at least test it.
|
||||||
|
|
|
@ -24,4 +24,4 @@ git = "https://github.com/servo/rust-stb-image"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
url = "0.2.16"
|
url = "0.2.16"
|
||||||
hyper = "0.3"
|
hyper = "0.4"
|
||||||
|
|
|
@ -73,7 +73,7 @@ time = "0.1.12"
|
||||||
bitflags = "*"
|
bitflags = "*"
|
||||||
rustc-serialize = "*"
|
rustc-serialize = "*"
|
||||||
libc = "*"
|
libc = "*"
|
||||||
hyper = "0.3"
|
hyper = "0.4"
|
||||||
cssparser = "0.3.1"
|
cssparser = "0.3.1"
|
||||||
unicase = "0.1"
|
unicase = "0.1"
|
||||||
num = "0.1.24"
|
num = "0.1.24"
|
||||||
|
|
|
@ -445,13 +445,14 @@ fn is_simple_method(m: &Method) -> bool {
|
||||||
/// Perform a CORS check on a header list and CORS request
|
/// Perform a CORS check on a header list and CORS request
|
||||||
/// https://fetch.spec.whatwg.org/#cors-check
|
/// https://fetch.spec.whatwg.org/#cors-check
|
||||||
pub fn allow_cross_origin_request(req: &CORSRequest, headers: &Headers) -> bool {
|
pub fn allow_cross_origin_request(req: &CORSRequest, headers: &Headers) -> bool {
|
||||||
//FIXME(seanmonstar): use req.headers.get::<AccessControlAllowOrigin>()
|
match headers.get::<AccessControlAllowOrigin>() {
|
||||||
match headers.get() {
|
|
||||||
Some(&AccessControlAllowOrigin::Any) => true, // Not always true, depends on credentials mode
|
Some(&AccessControlAllowOrigin::Any) => true, // Not always true, depends on credentials mode
|
||||||
|
// FIXME: https://github.com/servo/servo/issues/6020
|
||||||
Some(&AccessControlAllowOrigin::Value(ref url)) =>
|
Some(&AccessControlAllowOrigin::Value(ref url)) =>
|
||||||
url.scheme == req.origin.scheme &&
|
url.scheme == req.origin.scheme &&
|
||||||
url.host() == req.origin.host() &&
|
url.host() == req.origin.host() &&
|
||||||
url.port() == req.origin.port(),
|
url.port() == req.origin.port(),
|
||||||
|
Some(&AccessControlAllowOrigin::Null) |
|
||||||
None => false
|
None => false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
39
components/servo/Cargo.lock
generated
39
components/servo/Cargo.lock
generated
|
@ -190,7 +190,7 @@ name = "devtools"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -202,7 +202,7 @@ dependencies = [
|
||||||
name = "devtools_traits"
|
name = "devtools_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -564,6 +564,25 @@ dependencies = [
|
||||||
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper"
|
||||||
|
version = "0.4.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
dependencies = [
|
||||||
|
"cookie 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"httparse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"mime 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"num_cpus 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "io_surface"
|
name = "io_surface"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -747,7 +766,7 @@ dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
||||||
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -765,7 +784,7 @@ dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -783,7 +802,7 @@ name = "net_tests"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cookie 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cookie 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"net 0.0.1",
|
"net 0.0.1",
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -795,7 +814,7 @@ name = "net_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
||||||
|
@ -1006,7 +1025,7 @@ dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
||||||
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
|
@ -1027,7 +1046,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webdriver_traits 0.0.1",
|
"webdriver_traits 0.0.1",
|
||||||
"websocket 0.11.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1286,12 +1305,12 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.11.8"
|
version = "0.11.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
37
ports/cef/Cargo.lock
generated
37
ports/cef/Cargo.lock
generated
|
@ -199,7 +199,7 @@ name = "devtools"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -211,7 +211,7 @@ dependencies = [
|
||||||
name = "devtools_traits"
|
name = "devtools_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -566,6 +566,25 @@ dependencies = [
|
||||||
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper"
|
||||||
|
version = "0.4.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
dependencies = [
|
||||||
|
"cookie 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"httparse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"mime 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"num_cpus 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "io_surface"
|
name = "io_surface"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -749,7 +768,7 @@ dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
||||||
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -767,7 +786,7 @@ dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -785,7 +804,7 @@ name = "net_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
||||||
|
@ -996,7 +1015,7 @@ dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
||||||
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
|
@ -1017,7 +1036,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webdriver_traits 0.0.1",
|
"webdriver_traits 0.0.1",
|
||||||
"websocket 0.11.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1271,12 +1290,12 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.11.8"
|
version = "0.11.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
37
ports/gonk/Cargo.lock
generated
37
ports/gonk/Cargo.lock
generated
|
@ -176,7 +176,7 @@ name = "devtools"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -188,7 +188,7 @@ dependencies = [
|
||||||
name = "devtools_traits"
|
name = "devtools_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -464,6 +464,25 @@ dependencies = [
|
||||||
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hyper"
|
||||||
|
version = "0.4.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
dependencies = [
|
||||||
|
"cookie 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"httparse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"log 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"mime 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"num_cpus 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"time 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"traitobject 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"typeable 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"unicase 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"url 0.2.31 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "io_surface"
|
name = "io_surface"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -639,7 +658,7 @@ dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
"core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
"io_surface 0.1.0 (git+https://github.com/servo/rust-io-surface)",
|
||||||
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -657,7 +676,7 @@ dependencies = [
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"flate2 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"net_traits 0.0.1",
|
"net_traits 0.0.1",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
|
@ -675,7 +694,7 @@ name = "net_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
"png 0.1.0 (git+https://github.com/servo/rust-png)",
|
||||||
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
"stb_image 0.1.0 (git+https://github.com/servo/rust-stb-image)",
|
||||||
|
@ -867,7 +886,7 @@ dependencies = [
|
||||||
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
"geom 0.1.0 (git+https://github.com/servo/rust-geom)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
"html5ever 0.0.0 (git+https://github.com/servo/html5ever)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
"js 0.1.0 (git+https://github.com/servo/rust-mozjs)",
|
||||||
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
|
@ -888,7 +907,7 @@ dependencies = [
|
||||||
"util 0.0.1",
|
"util 0.0.1",
|
||||||
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uuid 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"webdriver_traits 0.0.1",
|
"webdriver_traits 0.0.1",
|
||||||
"websocket 0.11.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"websocket 0.11.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1133,12 +1152,12 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "websocket"
|
name = "websocket"
|
||||||
version = "0.11.8"
|
version = "0.11.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"byteorder 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"openssl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -19,5 +19,5 @@ path = "../../../components/util"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cookie = "*"
|
cookie = "*"
|
||||||
hyper = "*"
|
hyper = "0.4"
|
||||||
url = "*"
|
url = "*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue