From bb54262ae22ae71d3b67f8412c2c447f281a03bd Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 28 Jan 2025 04:25:02 +0000
Subject: [PATCH] Bump rand_hc from 0.3.2 to 0.4.0

Bumps [rand_hc](https://github.com/rust-random/rngs) from 0.3.2 to 0.4.0.
- [Commits](https://github.com/rust-random/rngs/commits/rand_hc-0.4.0)

---
updated-dependencies:
- dependency-name: rand_hc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 Cargo.lock | 37 +++++++++++++++++++++++++++++++++----
 Cargo.toml |  2 +-
 2 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 0e345f43..10ef3d8e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -319,7 +319,7 @@ dependencies = [
  "pc-keyboard",
  "pic8259",
  "rand 0.8.5",
- "rand_hc 0.3.2",
+ "rand_hc 0.4.0",
  "raw-cpuid 11.3.0",
  "sha2",
  "smoltcp",
@@ -509,6 +509,15 @@ version = "0.6.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
 
+[[package]]
+name = "rand_core"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b08f3c9802962f7e1b25113931d94f43ed9725bebc59db9d0c3e9a23b67e15ff"
+dependencies = [
+ "zerocopy",
+]
+
 [[package]]
 name = "rand_hc"
 version = "0.2.0"
@@ -520,11 +529,11 @@ dependencies = [
 
 [[package]]
 name = "rand_hc"
-version = "0.3.2"
+version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b363d4f6370f88d62bf586c80405657bde0f0e1b8945d47d2ad59b906cb4f54"
+checksum = "54fc7b35e3026136eaf1decdc66ecde3efadfd663cc0d71115ad40da7ebcff63"
 dependencies = [
- "rand_core 0.6.4",
+ "rand_core 0.9.0",
 ]
 
 [[package]]
@@ -806,3 +815,23 @@ dependencies = [
  "rustversion",
  "volatile",
 ]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a367f292d93d4eab890745e75a778da40909cab4d6ff8173693812f79c4a2468"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3931cb58c62c13adec22e38686b559c86a30565e16ad6e8510a337cedc611e1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.90",
+]
diff --git a/Cargo.toml b/Cargo.toml
index c8c4a88b..8a8ebfd3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -33,7 +33,7 @@ pbkdf2 = { version = "0.12.2", default-features = false, features = ["hmac"] }
 pc-keyboard = "0.8.0"
 pic8259 = "0.11.0"
 rand = { version = "0.8.5", default-features = false }
-rand_hc = "0.3.1"
+rand_hc = "0.4.0"
 raw-cpuid = "11.3.0"
 sha2 = { version = "0.10.8", default-features = false, features = ["force-soft"] }
 smoltcp = { version = "0.12.0", default-features = false, features = ["alloc", "medium-ethernet", "socket-tcp", "socket-udp", "socket-dhcpv4", "proto-ipv4", "proto-dhcpv4"] }