Skip to content

Commit 498fb95

Browse files
authored
migrate from deprecated sha-1 to sha1 (#2780)
closes #2778
1 parent 2253eae commit 498fb95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actix-http/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ws = [
3737
"local-channel",
3838
"base64",
3939
"rand",
40-
"sha-1",
40+
"sha1",
4141
]
4242

4343
# TLS via OpenSSL
@@ -86,7 +86,7 @@ h2 = { version = "0.3.9", optional = true }
8686
local-channel = { version = "0.1", optional = true }
8787
base64 = { version = "0.13", optional = true }
8888
rand = { version = "0.8", optional = true }
89-
sha-1 = { version = "0.10", optional = true }
89+
sha1 = { version = "0.10", optional = true }
9090

9191
# openssl/rustls
9292
actix-tls = { version = "3", default-features = false, optional = true }

0 commit comments

Comments
 (0)