From a9ebfdc6e650b3f6033d18c47e54e95f51507c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Kj=C3=A4ll?= Date: Sat, 1 Oct 2022 16:54:01 +0200 Subject: [PATCH] replace the sha-1 crate with sha1, as RustCrypto have migrated to the new crate name, ref https://github.com/RustCrypto/hashes#crate-names --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}