mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -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