diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index 6bd755faf0b..b4f1689efe5 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -34,6 +34,8 @@ plugins = {path = "../plugins"} profile_traits = {path = "../profile_traits"} rand = "0.3" rustc-serialize = "0.3" +serde = "0.8" +serde_derive = "0.8" threadpool = "1.0" time = "0.1.17" unicase = "1.4.0" diff --git a/components/net/lib.rs b/components/net/lib.rs index 4ca85975344..4fc91cc2e7f 100644 --- a/components/net/lib.rs +++ b/components/net/lib.rs @@ -8,6 +8,7 @@ #![feature(fnbox)] #![feature(mpsc_select)] #![feature(plugin)] +#![feature(proc_macro)] #![plugin(plugins)] #![deny(unsafe_code)] @@ -37,6 +38,8 @@ extern crate openssl_verify; extern crate profile_traits; extern crate rand; extern crate rustc_serialize; +#[macro_use] +extern crate serde_derive; extern crate threadpool; extern crate time; #[cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))] diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index a2da0461e02..94a45baed82 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -1439,6 +1439,8 @@ dependencies = [ "profile_traits 0.0.1", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", "threadpool 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "tinyfiledialogs 0.1.0 (git+https://github.com/jdm/tinyfiledialogs)", diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index b14fc7f0c41..deb178707da 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -1339,6 +1339,8 @@ dependencies = [ "profile_traits 0.0.1", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", "threadpool 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "tinyfiledialogs 0.1.0 (git+https://github.com/jdm/tinyfiledialogs)",