aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/net_traits')
-rw-r--r--components/net_traits/Cargo.toml10
-rw-r--r--components/net_traits/lib.rs2
2 files changed, 6 insertions, 6 deletions
diff --git a/components/net_traits/Cargo.toml b/components/net_traits/Cargo.toml
index 08f602fc4ad..cf446faa04e 100644
--- a/components/net_traits/Cargo.toml
+++ b/components/net_traits/Cargo.toml
@@ -14,18 +14,18 @@ cookie = "0.6"
heapsize = "0.4"
heapsize_derive = "0.1"
hyper = "0.10"
-hyper_serde = "0.6"
+hyper_serde = "0.7"
image = "0.12"
immeta = "0.3.1"
-ipc-channel = "0.7"
+ipc-channel = "0.8"
lazy_static = "0.2"
log = "0.3.5"
msg = {path = "../msg"}
num-traits = "0.1.32"
-serde = "0.9"
-serde_derive = "0.9"
+serde = "1.0"
+serde_derive = "1.0"
servo_config = {path = "../config"}
servo_url = {path = "../url"}
url = {version = "1.2", features = ["heap_size"]}
-uuid = {version = "0.4", features = ["v4", "serde"]}
+uuid = {version = "0.5", features = ["v4", "serde"]}
webrender_traits = {git = "https://github.com/servo/webrender", features = ["ipc"]}
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index 42808737db8..b912918bc3a 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/lib.rs
@@ -270,7 +270,7 @@ pub type IpcSendResult = Result<(), IpcError>;
/// used by net_traits::ResourceThreads to ease the use its IpcSender sub-fields
/// XXX: If this trait will be used more in future, some auto derive might be appealing
pub trait IpcSend<T>
- where T: serde::Serialize + serde::Deserialize,
+ where T: serde::Serialize + for<'de> serde::Deserialize<'de>,
{
/// send message T
fn send(&self, T) -> IpcSendResult;