Commit 27a27d8002a58628c25c4477dc3e797dcad4b32b

Alexander Kjäll 2022-10-01T16:54:01

replace the sha-1 crate with sha1, as RustCrypto have migrated to the new crate name, ref https://github.com/RustCrypto/hashes#crate-names

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Cargo.toml b/Cargo.toml
index c383c9e..ec56a91 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ gen_secret = ["rand"]
 [dependencies]
 serde = { version = "1.0", features = ["derive"], optional = true }
 sha2 = "~0.10.2"
-sha-1 = "~0.10.0"
+sha1 = "~0.10.5"
 hmac = "~0.12.1"
 base32 = "~0.4"
 urlencoding = { version = "^2.1.0", optional = true}