Skip to content

Commit

Permalink
Merge pull request #74 from equal-l2/use-num-traits
Browse files Browse the repository at this point in the history
Use num-traits instead of num
  • Loading branch information
gchp authored Nov 13, 2017
2 parents ef7bc29 + 02f5e36 commit 78bc1c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ name = "rustbox"
bitflags = "0.2.1"
termbox-sys = "0.2.9"
gag = "0.1.6"
num = "0.1.13"
num-traits = "0.1.13"
4 changes: 2 additions & 2 deletions src/rustbox.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extern crate gag;
extern crate num;
extern crate num_traits;
extern crate termbox_sys as termbox;
#[macro_use] extern crate bitflags;

Expand All @@ -12,7 +12,7 @@ use std::char;
use std::default::Default;
use std::marker::PhantomData;

use num::FromPrimitive;
use num_traits::FromPrimitive;
use termbox::RawEvent;
use std::os::raw::c_int;
use gag::Hold;
Expand Down

0 comments on commit 78bc1c7

Please sign in to comment.