aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Arcieri <bascule@gmail.com>2022-11-30 08:15:37 -0700
committerGitHub <noreply@github.com>2022-11-30 08:15:37 -0700
commit179fadb7fda45cad53fe39d5844e073ca9c73b99 (patch)
treeb95dc5340e180f9233f4219905b7d86073e7a478
parent40d49e60e4823fa041dee6f3fcc2c7747a942e00 (diff)
downloadPAKEs-179fadb7fda45cad53fe39d5844e073ca9c73b99.tar.xz
srp: switch from `sha-1` to `sha1` (#112)
The former is deprecated. Note: `dev-dependencies` only
-rw-r--r--Cargo.lock6
-rw-r--r--srp/Cargo.toml6
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"