Bump serde to 1.0

This commit is contained in:
Bastien Orivel 2017-06-14 18:31:09 +02:00 committed by Simon Sapin
parent e1bce24129
commit 76d8573393
60 changed files with 487 additions and 474 deletions

View file

@ -10,7 +10,7 @@ path = "lib.rs"
doctest = false
[dependencies]
cssparser = "0.14.0"
cssparser = "0.15"
gfx = {path = "../../../components/gfx"}
ipc-channel = "0.7"
ipc-channel = "0.8"
style = {path = "../../../components/style"}

View file

@ -15,8 +15,8 @@ devtools_traits = {path = "../../../components/devtools_traits"}
flate2 = "0.2.0"
hyper = "0.10"
hyper-openssl = "0.2"
hyper_serde = "0.6"
ipc-channel = "0.7"
hyper_serde = "0.7"
ipc-channel = "0.8"
msg = {path = "../../../components/msg"}
net = {path = "../../../components/net"}
net_traits = {path = "../../../components/net_traits"}

View file

@ -10,6 +10,6 @@ path = "lib.rs"
doctest = false
[dependencies]
ipc-channel = "0.7"
ipc-channel = "0.8"
profile = {path = "../../../components/profile"}
profile_traits = {path = "../../../components/profile_traits"}

View file

@ -10,7 +10,7 @@ path = "lib.rs"
doctest = false
[dependencies]
euclid = "0.14.4"
euclid = "0.15"
msg = {path = "../../../components/msg"}
script = {path = "../../../components/script"}
servo_url = {path = "../../../components/url"}

View file

@ -14,10 +14,10 @@ testing = ["style/testing"]
[dependencies]
byteorder = "1.0"
app_units = "0.4.1"
cssparser = "0.14.0"
euclid = "0.14.4"
html5ever = "0.17"
app_units = "0.5"
cssparser = "0.15"
euclid = "0.15"
html5ever = "0.18"
parking_lot = "0.3"
rayon = "0.8"
rustc-serialize = "0.3"

View file

@ -24,7 +24,7 @@ impl ParseErrorReporter for ErrorringErrorReporter {
url: &ServoUrl,
line_number_offset: u64) {
let location = input.source_location(position);
let line_offset = location.line + line_number_offset as usize;
let line_offset = location.line + line_number_offset as u32;
panic!("CSS error: {}\t\n{}:{} {}", url.as_str(), line_offset, location.column, error.to_string());
}
}

View file

@ -249,8 +249,8 @@ fn test_parse_stylesheet() {
struct CSSError {
pub url : ServoUrl,
pub line: usize,
pub column: usize,
pub line: u32,
pub column: u32,
pub message: String
}
@ -275,7 +275,7 @@ impl ParseErrorReporter for CSSInvalidErrorReporterTest {
line_number_offset: u64) {
let location = input.source_location(position);
let line_offset = location.line + line_number_offset as usize;
let line_offset = location.line + line_number_offset as u32;
let mut errors = self.errors.lock().unwrap();
errors.push(

View file

@ -16,9 +16,9 @@ testing = ["style/testing"]
[dependencies]
atomic_refcell = "0.1"
cssparser = "0.14.0"
cssparser = "0.15"
env_logger = "0.4"
euclid = "0.14.4"
euclid = "0.15"
geckoservo = {path = "../../../ports/geckolib"}
libc = "0.2"
log = {version = "0.3.5", features = ["release_max_level_info"]}