From 56d0dd9ec21e8f623609a9ca9d07b4bf238357a2 Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 2 Dec 2022 19:13:57 +0900 Subject: [PATCH] Update to tokio-tungstenite-0.18.0 and use sha1 (#1598) --- axum/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 3ecee5d4..eddd14ca 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -24,7 +24,7 @@ original-uri = [] query = ["dep:serde_urlencoded"] tokio = ["dep:tokio", "hyper/server", "hyper/tcp", "tower/make"] tower-log = ["tower/log"] -ws = ["tokio", "dep:tokio-tungstenite", "dep:sha-1", "dep:base64"] +ws = ["tokio", "dep:tokio-tungstenite", "dep:sha1", "dep:base64"] # Required for intra-doc links to resolve correctly __private_docs = ["tower/full", "tower-http/full"] @@ -59,9 +59,9 @@ multer = { version = "2.0.0", optional = true } serde_json = { version = "1.0", features = ["raw_value"], optional = true } serde_path_to_error = { version = "0.1.8", optional = true } serde_urlencoded = { version = "0.7", optional = true } -sha-1 = { version = "0.10", optional = true } +sha1 = { version = "0.10", optional = true } tokio = { package = "tokio", version = "1.21", features = ["time"], optional = true } -tokio-tungstenite = { version = "0.17.2", optional = true } +tokio-tungstenite = { version = "0.18.0", optional = true } [build-dependencies] rustversion = "1.0.9"