From 3a97bdf6895092855958dabc0c3e903e9f30868c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 15:54:43 +0000 Subject: [PATCH] Update Rust crate getrandom to v0.3.2 (#16939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [getrandom](https://redirect.github.com/rust-random/getrandom) | workspace.dependencies | patch | `0.3.1` -> `0.3.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
rust-random/getrandom (getrandom) ### [`v0.3.2`](https://redirect.github.com/rust-random/getrandom/blob/HEAD/CHANGELOG.md#032---2025-03-17) [Compare Source](https://redirect.github.com/rust-random/getrandom/compare/v0.3.1...v0.3.2) ##### Added - `efi_rng` opt-in backend [#​570] - `linux_raw` opt-in backend [#​572] - `.cargo/config.toml` example in the crate-level docs [#​591] - `getrandom_test_linux_without_fallback` configuration flag to test that file fallback is not triggered in the `linux_android_with_fallback` backend [#​605] - Built-in support for `*-linux-none` targets [#​618] - Cygwin support [#​626] ##### Changed - Update `wasi` dependency to v0.14 [#​594] - Add `#[inline]` attribute to the inner functions [#​596] - Update WASI and Emscripten links in the crate-level docs [#​597] - Do not use `dlsym` on MUSL targets in the `linux_android_with_fallback` backend [#​602] - Remove `linux_android.rs` and use `getrandom.rs` instead [#​603] - Always use `RtlGenRandom` on Windows targets when compiling with pre-1.78 Rust [#​610] - Internal representation of the `Error` type [#​614] - Remove `windows-targets` dependency and use [`raw-dylib`][raw-dylib] directly [#​627] ##### Removed - `Error::INTERNAL_START` and `Error::CUSTOM_START` associated constants [#​614] [#​570]: https://redirect.github.com/rust-random/getrandom/pull/570 [#​572]: https://redirect.github.com/rust-random/getrandom/pull/572 [#​591]: https://redirect.github.com/rust-random/getrandom/pull/591 [#​594]: https://redirect.github.com/rust-random/getrandom/pull/594 [#​596]: https://redirect.github.com/rust-random/getrandom/pull/596 [#​597]: https://redirect.github.com/rust-random/getrandom/pull/597 [#​602]: https://redirect.github.com/rust-random/getrandom/pull/602 [#​603]: https://redirect.github.com/rust-random/getrandom/pull/603 [#​605]: https://redirect.github.com/rust-random/getrandom/pull/605 [#​610]: https://redirect.github.com/rust-random/getrandom/pull/610 [#​614]: https://redirect.github.com/rust-random/getrandom/pull/614 [#​618]: https://redirect.github.com/rust-random/getrandom/pull/618 [#​626]: https://redirect.github.com/rust-random/getrandom/pull/626 [#​627]: https://redirect.github.com/rust-random/getrandom/pull/627 [`raw-dylib`]: https://doc.rust-lang.org/reference/items/external-blocks.html?highlight=link#dylib-versus-raw-dylib
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1338e03c02..495bd46781 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1071,16 +1071,16 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.13.3+wasi-0.2.2", + "r-efi", + "wasi 0.14.2+wasi-0.2.4", "wasm-bindgen", - "windows-targets 0.52.6", ] [[package]] @@ -2384,6 +2384,12 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" + [[package]] name = "rand" version = "0.8.5" @@ -2441,7 +2447,7 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ - "getrandom 0.3.1", + "getrandom 0.3.2", ] [[package]] @@ -2637,7 +2643,7 @@ version = "0.0.0" dependencies = [ "console_error_panic_hook", "console_log", - "getrandom 0.3.1", + "getrandom 0.3.2", "js-sys", "log", "red_knot_project", @@ -3290,7 +3296,7 @@ version = "0.11.2" dependencies = [ "console_error_panic_hook", "console_log", - "getrandom 0.3.1", + "getrandom 0.3.2", "js-sys", "log", "ruff_formatter", @@ -3775,7 +3781,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" dependencies = [ "fastrand", - "getrandom 0.3.1", + "getrandom 0.3.2", "once_cell", "rustix 1.0.2", "windows-sys 0.52.0", @@ -4271,7 +4277,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" dependencies = [ - "getrandom 0.3.1", + "getrandom 0.3.2", "js-sys", "rand 0.9.0", "uuid-macro-internal", @@ -4379,9 +4385,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi" -version = "0.13.3+wasi-0.2.2" +version = "0.14.2+wasi-0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" dependencies = [ "wit-bindgen-rt", ] @@ -4797,9 +4803,9 @@ checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" [[package]] name = "wit-bindgen-rt" -version = "0.33.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" dependencies = [ "bitflags 2.9.0", ]