From 9b79d2292fea4e7fb453c8869d3cabb02504ecd5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 16:06:17 +0000 Subject: [PATCH] Bump tokio-tungstenite from 0.24.0 to 0.26.1 Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite) from 0.24.0 to 0.26.1. - [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md) - [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.24.0...v0.26.1) --- updated-dependencies: - dependency-name: tokio-tungstenite dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 46 ++++++++++++++++++++++++++------ apps/freenet-ping/app/Cargo.toml | 2 +- crates/core/Cargo.toml | 2 +- crates/fdev/Cargo.toml | 2 +- 4 files changed, 41 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7eaf650de..530c200cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -344,7 +344,7 @@ dependencies = [ "sha1", "sync_wrapper 1.0.2", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.24.0", "tower 0.5.1", "tower-layer", "tower-service", @@ -544,9 +544,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da" +checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "bzip2" @@ -1418,7 +1418,7 @@ dependencies = [ "tar", "thiserror 1.0.69", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.26.1", "toml", "tracing", "tracing-subscriber", @@ -1557,7 +1557,7 @@ dependencies = [ "thiserror 1.0.69", "time", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.26.1", "toml", "tower-http", "tracing", @@ -1590,7 +1590,7 @@ dependencies = [ "names", "serde_json", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.26.1", "tracing", "tracing-subscriber", ] @@ -1640,7 +1640,7 @@ dependencies = [ "serde_with", "thiserror 1.0.69", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.24.0", "tracing", "tracing-subscriber", "wasm-bindgen", @@ -5077,7 +5077,19 @@ dependencies = [ "futures-util", "log", "tokio", - "tungstenite", + "tungstenite 0.24.0", +] + +[[package]] +name = "tokio-tungstenite" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4bf6fecd69fcdede0ec680aaf474cdab988f9de6bc73d3758f0160e3b7025a" +dependencies = [ + "futures-util", + "log", + "tokio", + "tungstenite 0.26.1", ] [[package]] @@ -5355,6 +5367,24 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413083a99c579593656008130e29255e54dcaae495be556cc26888f211648c24" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand", + "sha1", + "thiserror 2.0.9", + "utf-8", +] + [[package]] name = "twox-hash" version = "1.6.3" diff --git a/apps/freenet-ping/app/Cargo.toml b/apps/freenet-ping/app/Cargo.toml index 9271a9e0c..db764410d 100644 --- a/apps/freenet-ping/app/Cargo.toml +++ b/apps/freenet-ping/app/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" clap = { version = "4", features = ["derive"] } futures = "0.3" tokio = { version = "1", features = ["full"] } -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.26" tracing = { version = "0.1", features = ["log"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] } freenet-stdlib = { workspace = true, features = ["net"] } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 5293234fc..6963a8645 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -57,7 +57,7 @@ tar = { version = "0.4" } time = "0.3" thiserror = "1" tokio = { features = ["fs", "macros", "rt-multi-thread", "sync", "process"], version = "1" } -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.26" tower-http = { features = ["fs", "trace"], version = "0.6" } ulid = { features = ["serde"], version = "1.1" } unsigned-varint = { version = "0.8", features = ["codec", "asynchronous_codec"] } diff --git a/crates/fdev/Cargo.toml b/crates/fdev/Cargo.toml index 18bce56f6..cacd44575 100644 --- a/crates/fdev/Cargo.toml +++ b/crates/fdev/Cargo.toml @@ -29,7 +29,7 @@ semver = { workspace = true } tar = "0.4" thiserror = "1" tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros", "signal", "parking_lot", "process"] } -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.26" toml = { version = "0.8", features = ["default", "preserve_order"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }