Update tokio-tungstenite on the backend

This commit is contained in:
Pierre HUBERT 2024-01-17 18:52:25 +01:00
parent 5242abaf8f
commit ddbdb66dee
2 changed files with 54 additions and 12 deletions

64
rust/Cargo.lock generated
View File

@ -80,7 +80,7 @@ dependencies = [
"flate2",
"futures-core",
"h2",
"http",
"http 0.2.11",
"httparse",
"httpdate",
"itoa",
@ -115,7 +115,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d22475596539443685426b6bdadb926ad0ecaefdfc5fb05e5e3441f15463c511"
dependencies = [
"bytestring",
"http",
"http 0.2.11",
"regex",
"serde",
"tracing",
@ -924,7 +924,7 @@ dependencies = [
"futures-core",
"futures-sink",
"futures-util",
"http",
"http 0.2.11",
"indexmap 2.1.0",
"slab",
"tokio",
@ -984,6 +984,17 @@ dependencies = [
"itoa",
]
[[package]]
name = "http"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea"
dependencies = [
"bytes",
"fnv",
"itoa",
]
[[package]]
name = "http-body"
version = "0.4.6"
@ -991,7 +1002,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
dependencies = [
"bytes",
"http",
"http 0.2.11",
"pin-project-lite",
]
@ -1024,7 +1035,7 @@ dependencies = [
"futures-core",
"futures-util",
"h2",
"http",
"http 0.2.11",
"http-body",
"httparse",
"httpdate",
@ -1044,7 +1055,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
dependencies = [
"futures-util",
"http",
"http 0.2.11",
"hyper",
"log",
"rustls",
@ -1532,7 +1543,7 @@ dependencies = [
"futures-core",
"futures-util",
"h2",
"http",
"http 0.2.11",
"http-body",
"hyper",
"hyper-rustls",
@ -1696,7 +1707,7 @@ dependencies = [
"serde_urlencoded",
"serde_with",
"tokio",
"tokio-tungstenite",
"tokio-tungstenite 0.21.0",
"uuid",
]
@ -1722,7 +1733,7 @@ dependencies = [
"serde_urlencoded",
"textwrap",
"tokio",
"tokio-tungstenite",
"tokio-tungstenite 0.20.1",
"tui",
]
@ -2090,7 +2101,19 @@ dependencies = [
"rustls-native-certs",
"tokio",
"tokio-rustls",
"tungstenite",
"tungstenite 0.20.1",
]
[[package]]
name = "tokio-tungstenite"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38"
dependencies = [
"futures-util",
"log",
"tokio",
"tungstenite 0.21.0",
]
[[package]]
@ -2161,7 +2184,7 @@ dependencies = [
"byteorder",
"bytes",
"data-encoding",
"http",
"http 0.2.11",
"httparse",
"log",
"rand",
@ -2172,6 +2195,25 @@ dependencies = [
"utf-8",
]
[[package]]
name = "tungstenite"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1"
dependencies = [
"byteorder",
"bytes",
"data-encoding",
"http 1.0.0",
"httparse",
"log",
"rand",
"sha1",
"thiserror",
"url",
"utf-8",
]
[[package]]
name = "typenum"
version = "1.17.0"

View File

@ -30,6 +30,6 @@ semver = "1.0.21"
[dev-dependencies]
#reqwest = { version = "0.11.11", default-features = false, features = ["json", "rustls-tls"] }
tokio-tungstenite = "0.20.1"
tokio-tungstenite = "0.21.0"
serde_urlencoded = "0.7.1"
futures = "0.3.30"