Remove rustc-serialize from range

This commit is contained in:
Anthony Ramine 2017-02-12 09:07:52 +01:00
parent 5aba878227
commit 58046cc83c
3 changed files with 1 additions and 4 deletions

1
Cargo.lock generated
View file

@ -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)",
]

View file

@ -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"

View file

@ -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<I> {
begin: I,
length: I,