From 2930e081c078764adf65cdcbfc8b1887dc0ba8eb Mon Sep 17 00:00:00 2001 From: a2-ron Date: Sun, 28 Aug 2022 21:55:10 -0400 Subject: [PATCH] Switch from `sha-1` to `sha1` The RustCrypto project recently got control of the crate name `sha1`. This commit switches over to the new name; the old `sha-1` name is now deprecated. Details: https://github.com/RustCrypto/hashes/pull/350 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a5a610a..2954fd1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ num-traits = { version = "0.2", features = ["i128"] } rand = "0.8.3" regex = "1.5.5" rust_decimal = { version = "1.0", optional = true } -sha-1 = "0.10.0" +sha1 = "0.10.0" sha2 = "0.10.0" smallvec = { version = "1.6.1", features = ["union", "write"] } thiserror = "1.0.24"