[PR #538] [CLOSED] Update getrandom requirement from 0.2.3 to 0.3.4 #521

Closed
opened 2026-02-27 20:25:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/538
Author: @dependabot[bot]
Created: 10/14/2025
Status: Closed

Base: masterHead: dependabot/cargo/getrandom-0.3.4


📝 Commits (1)

  • 1b0586d Update getrandom requirement from 0.2.3 to 0.3.4

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Cargo.toml (+1 -1)

📄 Description

Updates the requirements on getrandom to permit the latest version.

Release notes

Sourced from getrandom's releases.

getrandom v0.3.4

Major change to wasm_js backend

Now, when the wasm_js feature is enabled, the wasm_js backend will be used by default. Users of wasm32-unknown-unknown targeting JavaScript environments like the Web and Node.js will no longer need to specify:

--cfg getrandom_backend="wasm_js"

in RUSTFLAGS for the crate to compile. They can now simple enable a feature.

Note: this should not affect non-JS users of the wasm32-unknown-unknown target. Using --cfg getrandom_backend will still override the source of randomness even if the wasm_js feature is enabled. This includes --cfg getrandom_backend=custom and --cfg getrandom_backend=unsupported.

For more information, see the discussions in #671, #675, and #730.

Added

  • unsupported opt-in backend #667
  • windows_legacy opt-in backend #724

Changed

  • Implement Memory Sanitizer unpoisoning more precisely #678
  • Relax MSRV for the linux_raw opt-in backend on ARM targets #688
  • Use getrandom syscall on all RISC-V Linux targets #699
  • Replaced wasi dependency with wasip2 #721
  • Enable wasm_js backend by default if the wasm_js feature is enabled #730

Removed

  • Unstable rustc-dep-of-std crate feature #694

#667: rust-random/getrandom#667 #671: rust-random/getrandom#671 #675: rust-random/getrandom#675 #678: rust-random/getrandom#678 #688: rust-random/getrandom#688 #694: rust-random/getrandom#694 #699: rust-random/getrandom#699 #721: rust-random/getrandom#721 #724: rust-random/getrandom#724 #730: rust-random/getrandom#730

Changelog

Sourced from getrandom's changelog.

[0.3.4] - 2025-10-14

Major change to wasm_js backend

Now, when the wasm_js feature is enabled, the wasm_js backend will be used by default. Users of wasm32-unknown-unknown targeting JavaScript environments like the Web and Node.js will no longer need to specify:

--cfg getrandom_backend="wasm_js"

in RUSTFLAGS for the crate to compile. They can now simple enable a feature.

Note: this should not affect non-JS users of the wasm32-unknown-unknown target. Using --cfg getrandom_backend will still override the source of randomness even if the wasm_js feature is enabled. This includes --cfg getrandom_backend=custom and --cfg getrandom_backend=unsupported.

For more information, see the discussions in #671, #675, and #730.

Added

  • unsupported opt-in backend #667
  • windows_legacy opt-in backend #724

Changed

  • Implement Memory Sanitizer unpoisoning more precisely #678
  • Relax MSRV for the linux_raw opt-in backend on ARM targets #688
  • Use getrandom syscall on all RISC-V Linux targets #699
  • Replaced wasi dependency with wasip2 #721
  • Enable wasm_js backend by default if the wasm_js feature is enabled #730

Removed

  • Unstable rustc-dep-of-std crate feature #694

#667: rust-random/getrandom#667 #671: rust-random/getrandom#671 #675: rust-random/getrandom#675 #678: rust-random/getrandom#678 #688: rust-random/getrandom#688 #694: rust-random/getrandom#694 #699: rust-random/getrandom#699 #721: rust-random/getrandom#721 #724: rust-random/getrandom#724 #730: rust-random/getrandom#730

[0.3.3] - 2025-05-09

Changed

  • Doc improvements #632 #634 #635
  • Add crate version to docs.rs links used in compile_error!s #639

... (truncated)

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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/538 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/14/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/getrandom-0.3.4` --- ### 📝 Commits (1) - [`1b0586d`](https://github.com/ramsayleung/rspotify/commit/1b0586d34f60f0fafec6ed45b6c72cd5cfd4c944) Update getrandom requirement from 0.2.3 to 0.3.4 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [getrandom](https://github.com/rust-random/getrandom) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/releases">getrandom's releases</a>.</em></p> <blockquote> <h2>getrandom v0.3.4</h2> <h3>Major change to <code>wasm_js</code> backend</h3> <p>Now, when the <code>wasm_js</code> feature is enabled, the <code>wasm_js</code> backend will be used by default. Users of <code>wasm32-unknown-unknown</code> targeting JavaScript environments like the Web and Node.js will no longer need to specify:</p> <pre><code>--cfg getrandom_backend=&quot;wasm_js&quot; </code></pre> <p>in <code>RUSTFLAGS</code> for the crate to compile. They can now simple enable a feature.</p> <p>Note: this should not affect non-JS users of the <code>wasm32-unknown-unknown</code> target. Using <code>--cfg getrandom_backend</code> will still override the source of randomness <em>even if</em> the <code>wasm_js</code> feature is enabled. This includes <code>--cfg getrandom_backend=custom</code> and <code>--cfg getrandom_backend=unsupported</code>.</p> <p>For more information, see the discussions in <a href="https://redirect.github.com/rust-random/getrandom/issues/671">#671</a>, <a href="https://redirect.github.com/rust-random/getrandom/issues/675">#675</a>, and <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a>.</p> <h3>Added</h3> <ul> <li><code>unsupported</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/667">#667</a></li> <li><code>windows_legacy</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/724">#724</a></li> </ul> <h3>Changed</h3> <ul> <li>Implement Memory Sanitizer unpoisoning more precisely <a href="https://redirect.github.com/rust-random/getrandom/issues/678">#678</a></li> <li>Relax MSRV for the <code>linux_raw</code> opt-in backend on ARM targets <a href="https://redirect.github.com/rust-random/getrandom/issues/688">#688</a></li> <li>Use <code>getrandom</code> syscall on all RISC-V Linux targets <a href="https://redirect.github.com/rust-random/getrandom/issues/699">#699</a></li> <li>Replaced <code>wasi</code> dependency with <code>wasip2</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/721">#721</a></li> <li>Enable <code>wasm_js</code> backend by default if the <code>wasm_js</code> feature is enabled <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a></li> </ul> <h3>Removed</h3> <ul> <li>Unstable <code>rustc-dep-of-std</code> crate feature <a href="https://redirect.github.com/rust-random/getrandom/issues/694">#694</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/667">#667</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/667">rust-random/getrandom#667</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/671">#671</a>: <a href="https://redirect.github.com/rust-random/getrandom/issues/671">rust-random/getrandom#671</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/675">#675</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/675">rust-random/getrandom#675</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/678">#678</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/678">rust-random/getrandom#678</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/688">#688</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/688">rust-random/getrandom#688</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/694">#694</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/694">rust-random/getrandom#694</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/699">#699</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/699">rust-random/getrandom#699</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/721">#721</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/721">rust-random/getrandom#721</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/724">#724</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/724">rust-random/getrandom#724</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/730">rust-random/getrandom#730</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.3.4] - 2025-10-14</h2> <h3>Major change to <code>wasm_js</code> backend</h3> <p>Now, when the <code>wasm_js</code> feature is enabled, the <code>wasm_js</code> backend will be used by default. Users of <code>wasm32-unknown-unknown</code> targeting JavaScript environments like the Web and Node.js will no longer need to specify:</p> <pre><code>--cfg getrandom_backend=&quot;wasm_js&quot; </code></pre> <p>in <code>RUSTFLAGS</code> for the crate to compile. They can now simple enable a feature.</p> <p>Note: this should not affect non-JS users of the <code>wasm32-unknown-unknown</code> target. Using <code>--cfg getrandom_backend</code> will still override the source of randomness <em>even if</em> the <code>wasm_js</code> feature is enabled. This includes <code>--cfg getrandom_backend=custom</code> and <code>--cfg getrandom_backend=unsupported</code>.</p> <p>For more information, see the discussions in <a href="https://redirect.github.com/rust-random/getrandom/issues/671">#671</a>, <a href="https://redirect.github.com/rust-random/getrandom/issues/675">#675</a>, and <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a>.</p> <h3>Added</h3> <ul> <li><code>unsupported</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/667">#667</a></li> <li><code>windows_legacy</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/724">#724</a></li> </ul> <h3>Changed</h3> <ul> <li>Implement Memory Sanitizer unpoisoning more precisely <a href="https://redirect.github.com/rust-random/getrandom/issues/678">#678</a></li> <li>Relax MSRV for the <code>linux_raw</code> opt-in backend on ARM targets <a href="https://redirect.github.com/rust-random/getrandom/issues/688">#688</a></li> <li>Use <code>getrandom</code> syscall on all RISC-V Linux targets <a href="https://redirect.github.com/rust-random/getrandom/issues/699">#699</a></li> <li>Replaced <code>wasi</code> dependency with <code>wasip2</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/721">#721</a></li> <li>Enable <code>wasm_js</code> backend by default if the <code>wasm_js</code> feature is enabled <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a></li> </ul> <h3>Removed</h3> <ul> <li>Unstable <code>rustc-dep-of-std</code> crate feature <a href="https://redirect.github.com/rust-random/getrandom/issues/694">#694</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/667">#667</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/667">rust-random/getrandom#667</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/671">#671</a>: <a href="https://redirect.github.com/rust-random/getrandom/issues/671">rust-random/getrandom#671</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/675">#675</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/675">rust-random/getrandom#675</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/678">#678</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/678">rust-random/getrandom#678</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/688">#688</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/688">rust-random/getrandom#688</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/694">#694</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/694">rust-random/getrandom#694</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/699">#699</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/699">rust-random/getrandom#699</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/721">#721</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/721">rust-random/getrandom#721</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/724">#724</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/724">rust-random/getrandom#724</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/730">rust-random/getrandom#730</a></p> <h2>[0.3.3] - 2025-05-09</h2> <h3>Changed</h3> <ul> <li>Doc improvements <a href="https://redirect.github.com/rust-random/getrandom/issues/632">#632</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/634">#634</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/635">#635</a></li> <li>Add crate version to docs.rs links used in <code>compile_error!</code>s <a href="https://redirect.github.com/rust-random/getrandom/issues/639">#639</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/getrandom/commit/38e4ad38309a85b56eef4fc759535ccfc322ba9a"><code>38e4ad3</code></a> Update version number to v0.3.4 (<a href="https://redirect.github.com/rust-random/getrandom/issues/736">#736</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/2d033b76f18aafed9ae10e9c36a1ee596574e15a"><code>2d033b7</code></a> Release Version v0.3.4 (<a href="https://redirect.github.com/rust-random/getrandom/issues/735">#735</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/ccb0ca9ab039bdf0b1f7b165957f5b0e1b58f541"><code>ccb0ca9</code></a> build(deps): bump the all-deps group across 1 directory with 5 updates (<a href="https://redirect.github.com/rust-random/getrandom/issues/734">#734</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/1af25102d644c28b3b42521a17f2b65440e28a6f"><code>1af2510</code></a> Implement <a href="https://redirect.github.com/rust-random/getrandom/issues/675">#675</a>: let wasm_js enable the backend by default (<a href="https://redirect.github.com/rust-random/getrandom/issues/730">#730</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/18d89843981b93032b2a2c6f1e33897075a8d727"><code>18d8984</code></a> Don't run doctests with -Zsanitizer=memory</li> <li><a href="https://github.com/rust-random/getrandom/commit/c904801e8bdac1f2b1903f80edeb07a0d4a81b20"><code>c904801</code></a> Change removed doc_auto_cfg feature</li> <li><a href="https://github.com/rust-random/getrandom/commit/d4cb6a2b29fd87d5c8f624cf9f3be60c5e4c2b9b"><code>d4cb6a2</code></a> Update all nightly toolchains to latest nightly</li> <li><a href="https://github.com/rust-random/getrandom/commit/9b78fcc83ad54d2a0e045090d6fa90b2a4b315c1"><code>9b78fcc</code></a> Update Cargo.lock (<a href="https://redirect.github.com/rust-random/getrandom/issues/731">#731</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/b6ac385bc4bd20a40a07c94a3be347ac88c19606"><code>b6ac385</code></a> ci: re-enable NetBSD job (<a href="https://redirect.github.com/rust-random/getrandom/issues/729">#729</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/3983e0fbec37516bd5e1b32eb4bdacb612f36f8b"><code>3983e0f</code></a> Add <code>windows_legacy</code> opt-in backend (<a href="https://redirect.github.com/rust-random/getrandom/issues/724">#724</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.2.3...v0.3.4">compare view</a></li> </ul> </details> <br /> 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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:25:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#521
No description provided.