From 179fadb7fda45cad53fe39d5844e073ca9c73b99 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 30 Nov 2022 08:15:37 -0700 Subject: [PATCH] srp: switch from `sha-1` to `sha1` (#112) The former is deprecated. Note: `dev-dependencies` only --- Cargo.lock | 6 +++--- srp/Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 87b2a04..83622dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -335,10 +335,10 @@ dependencies = [ ] [[package]] -name = "sha-1" +name = "sha1" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" +checksum = "04cc229fb94bcb689ffc39bd4ded842f6ff76885efede7c6d1ffb62582878bea" dependencies = [ "cfg-if", "cpufeatures", @@ -380,7 +380,7 @@ dependencies = [ "num-bigint", "num-traits", "rand", - "sha-1", + "sha1", "sha2", "subtle", ] diff --git a/srp/Cargo.toml b/srp/Cargo.toml index 2ec163b..28f02af 100644 --- a/srp/Cargo.toml +++ b/srp/Cargo.toml @@ -20,8 +20,8 @@ lazy_static = "1.2" subtle = "2.4" [dev-dependencies] +hex-literal = "0.3" +num-traits = "0.2" rand = "0.6" +sha1 = "0.10" sha2 = "0.10" -sha-1 = "0.10" -num-traits = "0.2" -hex-literal = "0.3" -- 2.44.0