mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Use num_traits in util
This commit is contained in:
parent
6c08ad857e
commit
aa8e214e34
7 changed files with 7 additions and 104 deletions
|
@ -31,8 +31,8 @@ js = {git = "https://github.com/servo/rust-mozjs", optional = true}
|
|||
lazy_static = "0.2"
|
||||
libc = "0.2"
|
||||
log = "0.3.5"
|
||||
num = "0.1.32"
|
||||
num_cpus = "0.2.2"
|
||||
num-traits = "0.1.32"
|
||||
plugins = {path = "../plugins"}
|
||||
rand = "0.3"
|
||||
rustc-serialize = "0.3"
|
||||
|
|
|
@ -34,8 +34,8 @@ extern crate lazy_static;
|
|||
extern crate libc;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate num;
|
||||
extern crate num_cpus;
|
||||
extern crate num_traits;
|
||||
extern crate rand;
|
||||
extern crate rustc_serialize;
|
||||
extern crate serde;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
use app_units::Au;
|
||||
use libc::c_char;
|
||||
use num::ToPrimitive;
|
||||
use num_traits::ToPrimitive;
|
||||
use std::borrow::ToOwned;
|
||||
use std::convert::AsRef;
|
||||
use std::ffi::CStr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue