diff --git a/Cargo.toml b/Cargo.toml index 421fea5c..d84fdfd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,11 +16,9 @@ readme = "README.md" name = "bitcoin" path = "src/lib.rs" -[dependencies.eventual] -git = "https://github.com/carllerche/eventual" - [dependencies] byteorder = "0.3" +eventual = "0.1" num = "0.1" num_cpus = "0.2" rand = "0.3" diff --git a/src/util/iter.rs b/src/util/iter.rs index a7b9e83f..53ab4723 100644 --- a/src/util/iter.rs +++ b/src/util/iter.rs @@ -63,7 +63,7 @@ impl Pair { } /// Returns an iterator that returns elements of the original iterator 2 at a time -pub trait Pairable : Sized { +pub trait Pairable : Sized + Iterator { /// Returns an iterator that returns elements of the original iterator 2 at a time fn pair(self) -> Pair; }