diff --git a/Cargo.toml b/Cargo.toml index 6588588..5a492c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "rust-scrypt" authors = ["Constantine Kryvomaz "] description = "Bindings into C for Tarsnap's `Scrypt` algorithm" repository = "https://github.com/r8d8/rust-scrypt" -version = "1.0.0" +version = "1.1.0" build = "build.rs" keywords = ["rust", "crypto", "scrypt"] readme = "README.md" @@ -17,7 +17,6 @@ gcc = "0.3" [dependencies] clippy = {version = "0.0", optional = true} -rustc-serialize = "0.3" [features] dev = ["clippy"] diff --git a/benches/bench.rs b/benches/bench.rs index a823d8f..f97f1df 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -3,8 +3,8 @@ extern crate rust_scrypt; extern crate rustc_serialize; extern crate test; -use rustc_serialize::hex::FromHex; use rust_scrypt::{scrypt, ScryptParams}; +use rustc_serialize::hex::FromHex; use test::Bencher; fn to_bytes(slice: &[T]) -> A diff --git a/src/lib.rs b/src/lib.rs index f89830a..2078618 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -61,8 +61,8 @@ pub fn scrypt(passwd: &[u8], salt: &[u8], params: &ScryptParams, output: &mut [u mod tests { extern crate rustc_serialize; - use super::*; use self::rustc_serialize::hex::{FromHex, ToHex}; + use super::*; fn to_bytes(slice: &[T]) -> A where