diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml index ff31840b39d..11a0580c34e 100644 --- a/components/canvas/Cargo.toml +++ b/components/canvas/Cargo.toml @@ -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" diff --git a/components/canvas/canvas_paint_thread.rs b/components/canvas/canvas_paint_thread.rs index 91630915cdc..36fbbe94570 100644 --- a/components/canvas/canvas_paint_thread.rs +++ b/components/canvas/canvas_paint_thread.rs @@ -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; diff --git a/components/canvas/lib.rs b/components/canvas/lib.rs index 8a5ecce9217..1aee40b1e14 100644 --- a/components/canvas/lib.rs +++ b/components/canvas/lib.rs @@ -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; diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index 2720e51b000..eecbb16dbf8 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -169,7 +169,7 @@ dependencies = [ "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", "layers 0.2.4 (git+https://github.com/servo/rust-layers)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "num 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "util 0.0.1", diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index 9a924ee6803..4a7c13c5445 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -154,7 +154,7 @@ dependencies = [ "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", "layers 0.2.4 (git+https://github.com/servo/rust-layers)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "num 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "util 0.0.1", diff --git a/ports/gonk/Cargo.lock b/ports/gonk/Cargo.lock index 6a76a679eb0..056921876f4 100644 --- a/ports/gonk/Cargo.lock +++ b/ports/gonk/Cargo.lock @@ -147,7 +147,7 @@ dependencies = [ "ipc-channel 0.2.2 (git+https://github.com/servo/ipc-channel)", "layers 0.2.4 (git+https://github.com/servo/rust-layers)", "log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "num 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", + "num-traits 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "offscreen_gl_context 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "plugins 0.0.1", "util 0.0.1",