mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use euclid from crates.io
This commit is contained in:
parent
7355bf1061
commit
8cbfb3482c
104 changed files with 272 additions and 306 deletions
|
@ -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 = "*"
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue