Skip to content

Commit

Permalink
Remove deprecated rustc-serialize crate
Browse files Browse the repository at this point in the history
  • Loading branch information
r8d8 committed Jun 12, 2018
1 parent 2af138d commit a0c5f86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rust-scrypt"
authors = ["Constantine Kryvomaz <[email protected]>"]
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"
Expand All @@ -17,7 +17,6 @@ gcc = "0.3"

[dependencies]
clippy = {version = "0.0", optional = true}
rustc-serialize = "0.3"

[features]
dev = ["clippy"]
2 changes: 1 addition & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<A, T>(slice: &[T]) -> A
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<A, T>(slice: &[T]) -> A
where
Expand Down

0 comments on commit a0c5f86

Please sign in to comment.