Skip to content

Commit a0c5f86

Browse files
committed
Remove deprecated rustc-serialize crate
1 parent 2af138d commit a0c5f86

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "rust-scrypt"
33
authors = ["Constantine Kryvomaz <[email protected]>"]
44
description = "Bindings into C for Tarsnap's `Scrypt` algorithm"
55
repository = "https://github.com/r8d8/rust-scrypt"
6-
version = "1.0.0"
6+
version = "1.1.0"
77
build = "build.rs"
88
keywords = ["rust", "crypto", "scrypt"]
99
readme = "README.md"
@@ -17,7 +17,6 @@ gcc = "0.3"
1717

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

2221
[features]
2322
dev = ["clippy"]

benches/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ extern crate rust_scrypt;
33
extern crate rustc_serialize;
44
extern crate test;
55

6-
use rustc_serialize::hex::FromHex;
76
use rust_scrypt::{scrypt, ScryptParams};
7+
use rustc_serialize::hex::FromHex;
88
use test::Bencher;
99

1010
fn to_bytes<A, T>(slice: &[T]) -> A

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ pub fn scrypt(passwd: &[u8], salt: &[u8], params: &ScryptParams, output: &mut [u
6161
mod tests {
6262
extern crate rustc_serialize;
6363

64-
use super::*;
6564
use self::rustc_serialize::hex::{FromHex, ToHex};
65+
use super::*;
6666

6767
fn to_bytes<A, T>(slice: &[T]) -> A
6868
where

0 commit comments

Comments
 (0)