diff --git a/Cargo.lock b/Cargo.lock index a98bc1ee49b..226f46d37f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2147,7 +2147,6 @@ dependencies = [ "heapsize 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-serialize 0.3.22 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.8.20 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 0.8.23 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/components/range/Cargo.toml b/components/range/Cargo.toml index 36c35d97fdb..d93df765089 100644 --- a/components/range/Cargo.toml +++ b/components/range/Cargo.toml @@ -14,6 +14,5 @@ path = "lib.rs" heapsize = "0.3.0" heapsize_derive = "0.1" num-traits = "0.1.32" -rustc-serialize = "0.3" serde = "0.8" serde_derive = "0.8" diff --git a/components/range/lib.rs b/components/range/lib.rs index ddf2eb6d09d..109b14560b9 100644 --- a/components/range/lib.rs +++ b/components/range/lib.rs @@ -9,7 +9,6 @@ extern crate heapsize; #[macro_use] extern crate heapsize_derive; extern crate num_traits; -extern crate rustc_serialize; #[macro_use] extern crate serde_derive; @@ -145,7 +144,7 @@ macro_rules! int_range_index { } /// A range of indices -#[derive(Clone, Copy, Deserialize, HeapSizeOf, RustcEncodable, Serialize)] +#[derive(Clone, Copy, Deserialize, HeapSizeOf, Serialize)] pub struct Range { begin: I, length: I,