mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make it possible to build the style_traits crate with a stable compiler.
Testing this on CI to make sure we don’t regress it is blocked on #11806
This commit is contained in:
parent
b9b289c4be
commit
ea73c8efac
20 changed files with 145 additions and 89 deletions
|
@ -34,10 +34,10 @@ serde = {version = "0.7", features = ["nightly"]}
|
|||
serde_macros = "0.7"
|
||||
smallvec = "0.1"
|
||||
string_cache = {version = "0.2.20", features = ["heap_size"]}
|
||||
style_traits = {path = "../style_traits"}
|
||||
style_traits = {path = "../style_traits", features = ["heap_size"]}
|
||||
time = "0.1"
|
||||
url = {version = "1.0.0", features = ["heap_size"]}
|
||||
util = {path = "../util"}
|
||||
util = {path = "../util", features = ["servo"]}
|
||||
|
||||
[build-dependencies]
|
||||
walkdir = "0.1"
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
//! Geometry in flow-relative space.
|
||||
|
||||
use euclid::num::Zero;
|
||||
use euclid::{Point2D, Rect, SideOffsets2D, Size2D};
|
||||
use euclid::side_offsets::SideOffsets2D;
|
||||
use euclid::{Point2D, Rect, Size2D};
|
||||
use std::cmp::{max, min};
|
||||
use std::fmt::{self, Debug, Error, Formatter};
|
||||
use std::ops::{Add, Sub};
|
||||
|
|
|
@ -25,7 +25,7 @@ use cssparser::{Parser, RGBA, AtRuleParser, DeclarationParser, Delimiter,
|
|||
DeclarationListParser, parse_important, ToCss, TokenSerializationType};
|
||||
use error_reporting::ParseErrorReporter;
|
||||
use url::Url;
|
||||
use euclid::SideOffsets2D;
|
||||
use euclid::side_offsets::SideOffsets2D;
|
||||
use euclid::size::Size2D;
|
||||
use string_cache::Atom;
|
||||
use computed_values;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue