Use euclid from crates.io

This commit is contained in:
ecoal95 2015-06-18 20:51:34 +01:00
parent 7355bf1061
commit 8cbfb3482c
104 changed files with 272 additions and 306 deletions

View file

@ -16,9 +16,6 @@ path = "../util"
[dependencies.azure]
git = "https://github.com/servo/rust-azure"
[dependencies.geom]
git = "https://github.com/servo/rust-geom"
[dependencies.layers]
git = "https://github.com/servo/rust-layers"
@ -30,6 +27,7 @@ url = "0.2.35"
bitflags = "*"
hyper = "0.5"
rustc-serialize = "0.3.4"
euclid = "0.1"
[target.x86_64-apple-darwin.dependencies]
core-foundation = "*"

View file

@ -4,8 +4,8 @@
use azure::azure_hl::Color;
use constellation_msg::{Key, KeyState, KeyModifiers};
use geom::point::Point2D;
use geom::rect::Rect;
use euclid::point::Point2D;
use euclid::rect::Rect;
use layers::platform::surface::NativeGraphicsMetadata;
use layers::layers::LayerBufferSet;
use std::fmt::{Formatter, Debug};

View file

@ -6,9 +6,9 @@
//! reduce coupling between these two components.
use compositor_msg::Epoch;
use geom::rect::Rect;
use geom::size::TypedSize2D;
use geom::scale_factor::ScaleFactor;
use euclid::rect::Rect;
use euclid::size::TypedSize2D;
use euclid::scale_factor::ScaleFactor;
use hyper::header::Headers;
use hyper::method::Method;
use layers::geometry::DevicePixel;

View file

@ -4,7 +4,7 @@
extern crate azure;
#[macro_use] extern crate bitflags;
extern crate geom;
extern crate euclid;
extern crate hyper;
extern crate layers;
extern crate png;