From 8ed932f65c6d2b656f8c3c90bebb844c63b3b1e9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 13:48:54 +0000 Subject: [PATCH] cargo: bump the minor group with 6 updates (#2681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the minor group with 6 updates: | Package | From | To | | --- | --- | --- | | [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) | `0.12.2` | `0.13.0` | | [strum](https://github.com/Peternator7/strum) | `0.26.3` | `0.27.1` | | [tokio](https://github.com/tokio-rs/tokio) | `1.42.0` | `1.43.0` | | [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets) | `0.10.1` | `0.11.3` | | [scraper](https://github.com/causal-agent/scraper) | `0.22.0` | `0.23.1` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.14.0` | `3.17.1` | Updates `pulldown-cmark` from 0.12.2 to 0.13.0
Release notes

Sourced from pulldown-cmark's releases.

v0.13.0

Breaking Changes

New Features

Bug Fixes and Code Enhancements

Docs

New Contributors

Full Changelog: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.2...v0.13.0

Commits

Updates `strum` from 0.26.3 to 0.27.1
Release notes

Sourced from strum's releases.

v0.27.1

What's Changed

New Contributors

Full Changelog: https://github.com/Peternator7/strum/compare/v0.27.0...v0.27.1

v0.27.0

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from strum's changelog.

0.27.1

0.27.0

Highlights

Breaking Changes

0.26.4 (strum_macros)

... (truncated)

Commits

Updates `tokio` from 1.42.0 to 1.43.0
Release notes

Sourced from tokio's releases.

Tokio v1.43.0

1.43.0 (Jan 8th, 2025)

Added

Fixed

Changes

Changes to unstable APIs

Documented

#6874: tokio-rs/tokio#6874 #6963: tokio-rs/tokio#6963 #6975: tokio-rs/tokio#6975 #6986: tokio-rs/tokio#6986 #6995: tokio-rs/tokio#6995 #7014: tokio-rs/tokio#7014 #7029: tokio-rs/tokio#7029 #7038: tokio-rs/tokio#7038 #7041: tokio-rs/tokio#7041 #7042: tokio-rs/tokio#7042 #7047: tokio-rs/tokio#7047 #7053: tokio-rs/tokio#7053 #7054: tokio-rs/tokio#7054 #7055: tokio-rs/tokio#7055

... (truncated)

Commits

Updates `tokio-websockets` from 0.10.1 to 0.11.3
Changelog

Sourced from tokio-websockets's changelog.

[0.11.3] - 2025-02-17

Fixed

[0.11.2] - 2025-02-09

Changed

Fixed

[0.11.1] - 2025-01-26

Changed

Fixed

[0.11.0] - 2025-01-03

Added

Changed

Fixed

... (truncated)

Commits

Updates `scraper` from 0.22.0 to 0.23.1
Release notes

Sourced from scraper's releases.

v0.23.1

Full Changelog: https://github.com/rust-scraper/scraper/compare/v0.23.0...v0.23.1

v0.23.0

What's Changed

New Contributors

Full Changelog: https://github.com/rust-scraper/scraper/compare/v0.22.0...v0.23.0

Commits

Updates `tempfile` from 3.14.0 to 3.17.1
Changelog

Sourced from tempfile's changelog.

3.17.1

3.17.0

3.16.0

3.15.0

Re-seed the per-thread RNG from system randomness when we repeatedly fail to create temporary files (#314). This resolves a potential DoS vector (#178) while avoiding getrandom in the common case where it's necessary. The feature is optional but enabled by default via the getrandom feature.

For libc-free builds, you'll either need to disable this feature or opt-in to a different getrandom backend.

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dustin J. Mitchell --- Cargo.lock | 88 +++++++++++++------ mdbook-exerciser/Cargo.toml | 2 +- mdbook-slide-evaluator/Cargo.toml | 4 +- .../async-exercises/chat-async/Cargo.toml | 4 +- .../chat-async/src/bin/server.rs | 2 +- src/concurrency/sync-exercises/Cargo.toml | 4 +- 6 files changed, 71 insertions(+), 33 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bae93e23..50c48d60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -724,9 +724,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "filetime" @@ -903,7 +903,19 @@ checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" dependencies = [ "cfg-if", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets 0.52.6", ] [[package]] @@ -1528,9 +1540,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.167" +version = "0.2.170" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc" +checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" [[package]] name = "libdbus-sys" @@ -1697,7 +1709,7 @@ dependencies = [ "log", "mdbook", "pretty_env_logger", - "pulldown-cmark 0.12.2", + "pulldown-cmark 0.13.0", ] [[package]] @@ -1775,7 +1787,7 @@ dependencies = [ "hermit-abi", "libc", "log", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -2251,9 +2263,9 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.12.2" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f86ba2052aebccc42cbbb3ed234b8b13ce76f75c3551a303cb2bcffcff12bb14" +checksum = "1e8bbe1a966bd2f362681a44f6edce3c2310ac21e4d5067a6e7ec396297a6ea0" dependencies = [ "bitflags 2.8.0", "memchr", @@ -2302,7 +2314,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.11", ] [[package]] @@ -2400,7 +2412,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.11", "libc", "spin", "untrusted", @@ -2519,9 +2531,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scraper" -version = "0.22.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc3d051b884f40e309de6c149734eab57aa8cc1347992710dc80bcc1c2194c15" +checksum = "527e65d9d888567588db4c12da1087598d0f6f8b346cc2c5abc91f05fc2dffe2" dependencies = [ "cssparser", "ego-tree", @@ -2689,6 +2701,12 @@ dependencies = [ "libc", ] +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + [[package]] name = "siphasher" version = "0.3.11" @@ -2781,18 +2799,18 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" -version = "0.26.3" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.26.4" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" dependencies = [ "heck", "proc-macro2", @@ -2882,12 +2900,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.14.0" +version = "3.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c" +checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230" dependencies = [ "cfg-if", "fastrand", + "getrandom 0.3.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -3016,9 +3035,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.42.0" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" dependencies = [ "backtrace", "bytes", @@ -3034,9 +3053,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", @@ -3102,9 +3121,9 @@ dependencies = [ [[package]] name = "tokio-websockets" -version = "0.10.1" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f591660438b3038dd04d16c938271c79e7e06260ad2ea2885a4861bfb238605d" +checksum = "fbc46f9dc832c663a5db08513162001a29ac820913275d58943f942c2bc1c435" dependencies = [ "base64 0.22.0", "bytes", @@ -3114,6 +3133,7 @@ dependencies = [ "http 1.2.0", "httparse", "sha1_smol", + "simdutf8", "tokio", "tokio-util", ] @@ -3377,6 +3397,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasm-bindgen" version = "0.2.89" @@ -3691,6 +3720,15 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.8.0", +] + [[package]] name = "write16" version = "1.0.0" diff --git a/mdbook-exerciser/Cargo.toml b/mdbook-exerciser/Cargo.toml index c5d55ce1..06eb9b62 100644 --- a/mdbook-exerciser/Cargo.toml +++ b/mdbook-exerciser/Cargo.toml @@ -12,4 +12,4 @@ anyhow = "1.0.96" log = "0.4.26" mdbook = "0.4.45" pretty_env_logger = "0.5.0" -pulldown-cmark = { version = "0.12.2", default-features = false } +pulldown-cmark = { version = "0.13.0", default-features = false } diff --git a/mdbook-slide-evaluator/Cargo.toml b/mdbook-slide-evaluator/Cargo.toml index 6a6be02e..d1b0d928 100644 --- a/mdbook-slide-evaluator/Cargo.toml +++ b/mdbook-slide-evaluator/Cargo.toml @@ -16,7 +16,7 @@ glob = "0.3.2" log = "0.4.26" pretty_env_logger = "0.5.0" serde = { version = "1.0.218", features = ["derive"] } -strum = { version = "0.26.3", features = ["derive"] } -tokio = { version = "1.42.0", features = ["full"] } +strum = { version = "0.27.1", features = ["derive"] } +tokio = { version = "1.43.0", features = ["full"] } tokio-util = "0.7.13" url = "2.5.4" diff --git a/src/concurrency/async-exercises/chat-async/Cargo.toml b/src/concurrency/async-exercises/chat-async/Cargo.toml index 4f7a7d1d..30b943d5 100644 --- a/src/concurrency/async-exercises/chat-async/Cargo.toml +++ b/src/concurrency/async-exercises/chat-async/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] futures-util = { version = "0.3.31", features = ["sink"] } http = "1.2.0" -tokio = { version = "1.42.0", features = ["full"] } -tokio-websockets = { version = "0.10.1", features = ["client", "fastrand", "server", "sha1_smol"] } +tokio = { version = "1.43.0", features = ["full"] } +tokio-websockets = { version = "0.11.3", features = ["client", "fastrand", "server", "sha1_smol"] } diff --git a/src/concurrency/async-exercises/chat-async/src/bin/server.rs b/src/concurrency/async-exercises/chat-async/src/bin/server.rs index 12a0c40d..46aedbc2 100644 --- a/src/concurrency/async-exercises/chat-async/src/bin/server.rs +++ b/src/concurrency/async-exercises/chat-async/src/bin/server.rs @@ -74,7 +74,7 @@ async fn main() -> Result<(), Box> { let bcast_tx = bcast_tx.clone(); tokio::spawn(async move { // Wrap the raw TCP stream into a websocket. - let ws_stream = ServerBuilder::new().accept(socket).await?; + let (_req, ws_stream) = ServerBuilder::new().accept(socket).await?; handle_connection(addr, ws_stream, bcast_tx).await }); diff --git a/src/concurrency/sync-exercises/Cargo.toml b/src/concurrency/sync-exercises/Cargo.toml index 4c09d6c4..198fe655 100644 --- a/src/concurrency/sync-exercises/Cargo.toml +++ b/src/concurrency/sync-exercises/Cargo.toml @@ -14,8 +14,8 @@ path = "link-checker.rs" [dependencies] reqwest = { version = "0.12.12", features = ["blocking"] } -scraper = "0.22.0" +scraper = "0.23.1" thiserror = "2.0.11" [dev-dependencies] -tempfile = "3.14.0" +tempfile = "3.17.1"