Add dependency: num-rational.

This commit is contained in:
David Wang 2017-03-13 08:30:11 +11:00
parent 80b84f4f90
commit bf656fcb0d
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@ categories = ["science"]
[dependencies]
bit-set = "0.4"
num-rational = { version = "0.1", default-features = false }
num-traits = "0.1"
[badges]
travis-ci = { repository = "wangds/puzzle-solver" }

View File

@ -2,6 +2,8 @@
//! The puzzle rules are expressed as constraints.
extern crate bit_set;
extern crate num_rational;
extern crate num_traits;
use std::collections::HashMap;
use std::ops::Index;