mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
|
@ -10,9 +10,6 @@ path = "lib.rs"
|
|||
[dependencies.gfx_traits]
|
||||
path = "../gfx_traits"
|
||||
|
||||
[dependencies.geom]
|
||||
git = "https://github.com/servo/rust-geom"
|
||||
|
||||
[dependencies.azure]
|
||||
git = "https://github.com/servo/rust-azure"
|
||||
|
||||
|
@ -24,3 +21,4 @@ git = "https://github.com/ecoal95/rust-offscreen-rendering-context"
|
|||
|
||||
[dependencies]
|
||||
cssparser = "0.3.1"
|
||||
euclid = "0.1"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#![feature(core)]
|
||||
extern crate core;
|
||||
extern crate azure;
|
||||
extern crate geom;
|
||||
extern crate euclid;
|
||||
extern crate cssparser;
|
||||
extern crate gfx_traits;
|
||||
extern crate layers;
|
||||
|
@ -19,10 +19,10 @@ use azure::azure_hl::{GradientStop, LinearGradientPattern, RadialGradientPattern
|
|||
use azure::azure_hl::{JoinStyle, CapStyle, CompositionOp};
|
||||
use azure::azure_hl::{SurfacePattern, SurfaceFormat};
|
||||
use cssparser::RGBA;
|
||||
use geom::matrix2d::Matrix2D;
|
||||
use geom::point::Point2D;
|
||||
use geom::rect::Rect;
|
||||
use geom::size::Size2D;
|
||||
use euclid::matrix2d::Matrix2D;
|
||||
use euclid::point::Point2D;
|
||||
use euclid::rect::Rect;
|
||||
use euclid::size::Size2D;
|
||||
use gfx_traits::color;
|
||||
use std::sync::mpsc::{Sender};
|
||||
use layers::platform::surface::NativeSurface;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue