mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove rustc-serialize from range
This commit is contained in:
parent
5aba878227
commit
58046cc83c
3 changed files with 1 additions and 4 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -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)",
|
||||
]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue