mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Update serde to 0.8 (fixes #12659)
This commit is contained in:
parent
a22913569c
commit
7ad51dcd7a
70 changed files with 919 additions and 778 deletions
|
@ -11,15 +11,16 @@ path = "lib.rs"
|
|||
|
||||
[dependencies]
|
||||
bitflags = "0.7"
|
||||
cssparser = {version = "0.5.4", features = ["heap_size", "serde-serialization"]}
|
||||
cssparser = {version = "0.5.7", features = ["heap_size", "serde-serialization"]}
|
||||
heapsize = "0.3.0"
|
||||
heapsize_plugin = "0.1.2"
|
||||
hyper = {version = "0.9.9", features = ["serde-serialization"]}
|
||||
ipc-channel = "0.4.0"
|
||||
hyper = "0.9.9"
|
||||
hyper_serde = "0.1.4"
|
||||
ipc-channel = "0.5"
|
||||
plugins = {path = "../plugins"}
|
||||
serde = "0.7.15"
|
||||
serde_macros = "0.7.15"
|
||||
url = {version = "1.0.0", features = ["heap_size", "serde"]}
|
||||
serde = "0.8"
|
||||
serde_macros = "0.8"
|
||||
url = {version = "1.2", features = ["heap_size", "serde"]}
|
||||
|
||||
[dependencies.webrender_traits]
|
||||
git = "https://github.com/servo/webrender_traits"
|
||||
|
|
|
@ -191,7 +191,11 @@ pub struct Image {
|
|||
#[derive(Clone, Deserialize, Serialize)]
|
||||
pub struct LoadData {
|
||||
pub url: Url,
|
||||
#[serde(deserialize_with = "::hyper_serde::deserialize",
|
||||
serialize_with = "::hyper_serde::serialize")]
|
||||
pub method: Method,
|
||||
#[serde(deserialize_with = "::hyper_serde::deserialize",
|
||||
serialize_with = "::hyper_serde::serialize")]
|
||||
pub headers: Headers,
|
||||
pub data: Option<Vec<u8>>,
|
||||
pub referrer_policy: Option<ReferrerPolicy>,
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
extern crate bitflags;
|
||||
extern crate heapsize;
|
||||
extern crate hyper;
|
||||
extern crate hyper_serde;
|
||||
extern crate ipc_channel;
|
||||
extern crate serde;
|
||||
extern crate url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue