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

This commit is contained in:
Alexander Kjäll 2022-10-01 16:54:01 +02:00
parent d0b60892b2
commit a9ebfdc6e6
No known key found for this signature in database
GPG Key ID: 1D108E6C07CBC406
1 changed files with 1 additions and 1 deletions

View File

@ -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}