From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 22:41:31 +0000 (+0000) Subject: Bump rand from 0.8.4 to 0.8.6 in /learn/rust/guessing_game X-Git-Url: http://repos.zhaoyanbai.com/?a=commitdiff_plain;h=refs%2Fpull%2F2%2Fhead;p=acecode.git Bump rand from 0.8.4 to 0.8.6 in /learn/rust/guessing_game Bumps [rand](https://github.com/rust-random/rand) from 0.8.4 to 0.8.6. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/0.8.6/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.6) --- updated-dependencies: - dependency-name: rand dependency-version: 0.8.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- diff --git a/learn/rust/guessing_game/Cargo.lock b/learn/rust/guessing_game/Cargo.lock index ee8651c..6da73c3 100644 --- a/learn/rust/guessing_game/Cargo.lock +++ b/learn/rust/guessing_game/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "cfg-if" @@ -40,14 +40,13 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "rand" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha", "rand_core", - "rand_hc", ] [[package]] @@ -69,15 +68,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rand_hc" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7" -dependencies = [ - "rand_core", -] - [[package]] name = "wasi" version = "0.10.2+wasi-snapshot-preview1" diff --git a/learn/rust/guessing_game/Cargo.toml b/learn/rust/guessing_game/Cargo.toml index 172ae61..9ac83e2 100644 --- a/learn/rust/guessing_game/Cargo.toml +++ b/learn/rust/guessing_game/Cargo.toml @@ -6,4 +6,4 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rand = "0.8.3" +rand = "0.8.6"