mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use num-traits in canvas.
This commit is contained in:
parent
03d4bacc05
commit
38c10f89f2
6 changed files with 6 additions and 6 deletions
|
@ -38,5 +38,5 @@ git = "https://github.com/servo/webrender_traits"
|
|||
euclid = {version = "0.6.4", features = ["plugins"]}
|
||||
gleam = "0.2.8"
|
||||
log = "0.3.5"
|
||||
num = "0.1.24"
|
||||
num-traits = "0.1.32"
|
||||
offscreen_gl_context = "0.1.2"
|
||||
|
|
|
@ -14,7 +14,7 @@ use euclid::size::Size2D;
|
|||
use gfx_traits::color;
|
||||
use ipc_channel::ipc::IpcSharedMemory;
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use num::ToPrimitive;
|
||||
use num_traits::ToPrimitive;
|
||||
use std::borrow::ToOwned;
|
||||
use std::mem;
|
||||
use util::opts;
|
||||
|
|
|
@ -17,7 +17,7 @@ extern crate ipc_channel;
|
|||
extern crate layers;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate num;
|
||||
extern crate num_traits;
|
||||
extern crate offscreen_gl_context;
|
||||
extern crate util;
|
||||
extern crate webrender_traits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue