From e48fc535c2e257ca25398d3fed16bc69f7941b0c Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 29 Nov 2022 10:10:22 -0700 Subject: [PATCH] hkdf: switch from `sha-1` to `sha1` (#77) As a `dev-dependency`. The former is deprecated. --- Cargo.lock | 8 ++++---- hkdf/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02e55b3..dbf984e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,7 +104,7 @@ dependencies = [ "blobby", "hex-literal 0.2.2", "hmac", - "sha-1", + "sha1", "sha2", ] @@ -130,10 +130,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" [[package]] -name = "sha-1" -version = "0.10.0" +name = "sha1" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", diff --git a/hkdf/Cargo.toml b/hkdf/Cargo.toml index 42d0e97..51c3ad9 100644 --- a/hkdf/Cargo.toml +++ b/hkdf/Cargo.toml @@ -17,7 +17,7 @@ hmac = "0.12.1" [dev-dependencies] blobby = "0.3" hex-literal = "0.2.2" -sha-1 = { version = "0.10", default-features = false } +sha1 = { version = "0.10", default-features = false } sha2 = { version = "0.10", default-features = false } [features]