mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove the rustc-serialize dependency from gfx.
This commit is contained in:
parent
5d2a68033a
commit
137b277f1e
4 changed files with 2 additions and 5 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -926,7 +926,6 @@ dependencies = [
|
||||||
"ordered-float 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ordered-float 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"range 0.0.1",
|
"range 0.0.1",
|
||||||
"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 0.8.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 0.8.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 0.8.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"servo-fontconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"servo-fontconfig 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -29,7 +29,6 @@ net_traits = {path = "../net_traits"}
|
||||||
ordered-float = "0.2.2"
|
ordered-float = "0.2.2"
|
||||||
plugins = {path = "../plugins"}
|
plugins = {path = "../plugins"}
|
||||||
range = {path = "../range"}
|
range = {path = "../range"}
|
||||||
rustc-serialize = "0.3"
|
|
||||||
serde = "0.8"
|
serde = "0.8"
|
||||||
servo_atoms = {path = "../atoms"}
|
servo_atoms = {path = "../atoms"}
|
||||||
servo_geometry = {path = "../geometry"}
|
servo_geometry = {path = "../geometry"}
|
||||||
|
|
|
@ -251,7 +251,7 @@ impl<'a> Iterator for DisplayListTraversal<'a> {
|
||||||
/// Display list sections that make up a stacking context. Each section here refers
|
/// Display list sections that make up a stacking context. Each section here refers
|
||||||
/// to the steps in CSS 2.1 Appendix E.
|
/// to the steps in CSS 2.1 Appendix E.
|
||||||
///
|
///
|
||||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, HeapSizeOf, Ord, PartialEq, PartialOrd, RustcEncodable, Serialize)]
|
#[derive(Clone, Copy, Debug, Deserialize, Eq, HeapSizeOf, Ord, PartialEq, PartialOrd, Serialize)]
|
||||||
pub enum DisplayListSection {
|
pub enum DisplayListSection {
|
||||||
BackgroundAndBorders,
|
BackgroundAndBorders,
|
||||||
BlockBackgroundsAndBorders,
|
BlockBackgroundsAndBorders,
|
||||||
|
@ -259,7 +259,7 @@ pub enum DisplayListSection {
|
||||||
Outlines,
|
Outlines,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, HeapSizeOf, Ord, PartialEq, PartialOrd, RustcEncodable, Serialize)]
|
#[derive(Clone, Copy, Debug, Deserialize, Eq, HeapSizeOf, Ord, PartialEq, PartialOrd, Serialize)]
|
||||||
pub enum StackingContextType {
|
pub enum StackingContextType {
|
||||||
Real,
|
Real,
|
||||||
PseudoPositioned,
|
PseudoPositioned,
|
||||||
|
|
|
@ -58,7 +58,6 @@ extern crate net_traits;
|
||||||
extern crate ordered_float;
|
extern crate ordered_float;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate range;
|
extern crate range;
|
||||||
extern crate rustc_serialize;
|
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue