From c62c26aafd67e6c3f0db766358afe9a19e1fb546 Mon Sep 17 00:00:00 2001 From: David Wang Date: Sat, 18 Feb 2017 16:05:10 +1100 Subject: [PATCH] Add dependency: bit-set. We will be using bit-sets to keep track of which puzzle variables are used in which constraints, and which constraints need to be woken up. --- Cargo.toml | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 18f6d2d..c286ffd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,4 @@ authors = ["David Wang "] license = "MIT" [dependencies] +bit-set = "*" diff --git a/src/lib.rs b/src/lib.rs index 3f1cc4b..e49bfe5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,2 +1,4 @@ //! This crate searches for the solutions to logic puzzles. //! The puzzle rules are expressed as constraints. + +extern crate bit_set;