[PR #704] [CLOSED] Bump rand from 0.7.3 to 0.8.2 #990

Closed
opened 2026-02-28 14:54:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/704
Author: @dependabot-preview[bot]
Created: 1/14/2021
Status: Closed

Base: masterHead: dependabot/cargo/rand-0.8.2


📝 Commits (1)

  • 1e3aefa Bump rand from 0.7.3 to 0.8.2

📊 Changes

2 files changed (+63 additions, -6 deletions)

View changed files

📝 Cargo.lock (+62 -5)
📝 Cargo.toml (+1 -1)

📄 Description

Bumps rand from 0.7.3 to 0.8.2.

Changelog

Sourced from rand's changelog.

[0.8.2] - 2021-01-12

Fixes

  • Fix panic in UniformInt::sample_single_inclusive and Rng::gen_range when providing a full integer range (eg 0..=MAX) (#1087)

[0.8.1] - 2020-12-31

Other

  • Enable all stable features in the playground (#1081)

[0.8.0] - 2020-12-18

Platform support

  • The minimum supported Rust version is now 1.36 (#1011)
  • getrandom updated to v0.2 (#1041)
  • Remove wasm-bindgen and stdweb feature flags. For details of WASM support, see the getrandom documentation. (#948)
  • ReadRng::next_u32 and next_u64 now use little-Endian conversion instead of native-Endian, affecting results on Big-Endian platforms (#1061)
  • The nightly feature no longer implies the simd_support feature (#1048)
  • Fix simd_support feature to work on current nightlies (#1056)

Rngs

  • ThreadRng is no longer Copy to enable safe usage within thread-local destructors (#1035)
  • gen_range(a, b) was replaced with gen_range(a..b). gen_range(a..=b) is also supported. Note that a and b can no longer be references or SIMD types. (#744, #1003)
  • Replace AsByteSliceMut with Fill and add support for [bool], [char], [f32], [f64] (#940)
  • Restrict rand::rngs::adapter to std (#1027; see also #928)
  • StdRng: add new std_rng feature flag (enabled by default, but might need to be used if disabling default crate features) (#948)
  • StdRng: Switch from ChaCha20 to ChaCha12 for better performance (#1028)
  • SmallRng: Replace PCG algorithm with xoshiro{128,256}++ (#1038)

Sequences

  • Add IteratorRandom::choose_stable as an alternative to choose which does not depend on size hints (#1057)
  • Improve accuracy and performance of IteratorRandom::choose (#1059)
  • Implement IntoIterator for IndexVec, replacing the into_iter method (#1007)
  • Add value stability tests for seq module (#933)

Misc

  • Support PartialEq and Eq for StdRng, SmallRng and StepRng (#979)
  • Added a serde1 feature and added Serialize/Deserialize to UniformInt and WeightedIndex (#974)
  • Drop some unsafe code (#962, #963, #1011)
  • Reduce packaged crate size (#983)
  • Migrate to GitHub Actions from Travis+AppVeyor (#1073)

Distributions

  • Alphanumeric samples bytes instead of chars (#935)
  • Uniform now supports char, enabling rng.gen_range('A'..='Z') (#1068)
  • Add UniformSampler::sample_single_inclusive (#1003)
Commits
  • 6a6b9fd Merge pull request #1087 from GautierMinster/fix_uniform_int_panic_on_full_in...
  • 2c9085a Bump to 0.8.2 and update changelog
  • 4e8c7a4 distributions/uniform: fix panic in gen_range(0..=MAX)
  • bda9974 Merge pull request #1083 from dhardy/work
  • 594aed8 seed_from_u64: use newpavlov's suggestion
  • eb4b8a4 Fix #1082 (seed_from_u64 with non multiple of 4)
  • 34aa769 Merge pull request #1081 from taiki-e/playground
  • e5eec8e Prepare rand 0.8.1
  • a63eb3a Prepare rand_core 0.6.1
  • 3c19b97 Enable all stable features in the playground
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 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/Rigellute/spotify-tui/pull/704 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 1/14/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/rand-0.8.2` --- ### 📝 Commits (1) - [`1e3aefa`](https://github.com/Rigellute/spotify-tui/commit/1e3aefa82d6190bdc12987706b6ae7a8375f0fab) Bump rand from 0.7.3 to 0.8.2 ### 📊 Changes **2 files changed** (+63 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+62 -5) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [rand](https://github.com/rust-random/rand) from 0.7.3 to 0.8.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand's changelog</a>.</em></p> <blockquote> <h2>[0.8.2] - 2021-01-12</h2> <h3>Fixes</h3> <ul> <li>Fix panic in <code>UniformInt::sample_single_inclusive</code> and <code>Rng::gen_range</code> when providing a full integer range (eg <code>0..=MAX</code>) (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1087">#1087</a>)</li> </ul> <h2>[0.8.1] - 2020-12-31</h2> <h3>Other</h3> <ul> <li>Enable all stable features in the playground (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1081">#1081</a>)</li> </ul> <h2>[0.8.0] - 2020-12-18</h2> <h3>Platform support</h3> <ul> <li>The minimum supported Rust version is now 1.36 (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1011">#1011</a>)</li> <li><code>getrandom</code> updated to v0.2 (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1041">#1041</a>)</li> <li>Remove <code>wasm-bindgen</code> and <code>stdweb</code> feature flags. For details of WASM support, see the <a href="https://docs.rs/getrandom/latest">getrandom documentation</a>. (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/948">#948</a>)</li> <li><code>ReadRng::next_u32</code> and <code>next_u64</code> now use little-Endian conversion instead of native-Endian, affecting results on Big-Endian platforms (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1061">#1061</a>)</li> <li>The <code>nightly</code> feature no longer implies the <code>simd_support</code> feature (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1048">#1048</a>)</li> <li>Fix <code>simd_support</code> feature to work on current nightlies (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1056">#1056</a>)</li> </ul> <h3>Rngs</h3> <ul> <li><code>ThreadRng</code> is no longer <code>Copy</code> to enable safe usage within thread-local destructors (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1035">#1035</a>)</li> <li><code>gen_range(a, b)</code> was replaced with <code>gen_range(a..b)</code>. <code>gen_range(a..=b)</code> is also supported. Note that <code>a</code> and <code>b</code> can no longer be references or SIMD types. (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/744">#744</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1003">#1003</a>)</li> <li>Replace <code>AsByteSliceMut</code> with <code>Fill</code> and add support for <code>[bool], [char], [f32], [f64]</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/940">#940</a>)</li> <li>Restrict <code>rand::rngs::adapter</code> to <code>std</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1027">#1027</a>; see also <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/928">#928</a>)</li> <li><code>StdRng</code>: add new <code>std_rng</code> feature flag (enabled by default, but might need to be used if disabling default crate features) (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/948">#948</a>)</li> <li><code>StdRng</code>: Switch from ChaCha20 to ChaCha12 for better performance (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1028">#1028</a>)</li> <li><code>SmallRng</code>: Replace PCG algorithm with xoshiro{128,256}++ (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1038">#1038</a>)</li> </ul> <h3>Sequences</h3> <ul> <li>Add <code>IteratorRandom::choose_stable</code> as an alternative to <code>choose</code> which does not depend on size hints (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1057">#1057</a>)</li> <li>Improve accuracy and performance of <code>IteratorRandom::choose</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1059">#1059</a>)</li> <li>Implement <code>IntoIterator</code> for <code>IndexVec</code>, replacing the <code>into_iter</code> method (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1007">#1007</a>)</li> <li>Add value stability tests for <code>seq</code> module (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/933">#933</a>)</li> </ul> <h3>Misc</h3> <ul> <li>Support <code>PartialEq</code> and <code>Eq</code> for <code>StdRng</code>, <code>SmallRng</code> and <code>StepRng</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/979">#979</a>)</li> <li>Added a <code>serde1</code> feature and added Serialize/Deserialize to <code>UniformInt</code> and <code>WeightedIndex</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/974">#974</a>)</li> <li>Drop some unsafe code (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/962">#962</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/963">#963</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1011">#1011</a>)</li> <li>Reduce packaged crate size (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/983">#983</a>)</li> <li>Migrate to GitHub Actions from Travis+AppVeyor (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1073">#1073</a>)</li> </ul> <h3>Distributions</h3> <ul> <li><code>Alphanumeric</code> samples bytes instead of chars (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/935">#935</a>)</li> <li><code>Uniform</code> now supports <code>char</code>, enabling <code>rng.gen_range('A'..='Z')</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1068">#1068</a>)</li> <li>Add <code>UniformSampler::sample_single_inclusive</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1003">#1003</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/rand/commit/6a6b9fd06dbf54538d250dfbc4c918f79daa9299"><code>6a6b9fd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1087">#1087</a> from GautierMinster/fix_uniform_int_panic_on_full_in...</li> <li><a href="https://github.com/rust-random/rand/commit/2c9085a2de8864ee327af0311f6a8e5747cf25b7"><code>2c9085a</code></a> Bump to 0.8.2 and update changelog</li> <li><a href="https://github.com/rust-random/rand/commit/4e8c7a4ca2963797d0ec414d04b6239ece905165"><code>4e8c7a4</code></a> distributions/uniform: fix panic in gen_range(0..=MAX)</li> <li><a href="https://github.com/rust-random/rand/commit/bda997404d9ab8a89d590734d8b0bb72aed10758"><code>bda9974</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1083">#1083</a> from dhardy/work</li> <li><a href="https://github.com/rust-random/rand/commit/594aed829133a9df8219fd2a2670c631a03d5b19"><code>594aed8</code></a> seed_from_u64: use newpavlov's suggestion</li> <li><a href="https://github.com/rust-random/rand/commit/eb4b8a44d3b5b52ef142345a89bf9eb6b3c77ec6"><code>eb4b8a4</code></a> Fix <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1082">#1082</a> (seed_from_u64 with non multiple of 4)</li> <li><a href="https://github.com/rust-random/rand/commit/34aa769d4209aef360d76b93b9967c38baa831e1"><code>34aa769</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1081">#1081</a> from taiki-e/playground</li> <li><a href="https://github.com/rust-random/rand/commit/e5eec8e650cf97533658a0afb6a6fbd0b3bc988d"><code>e5eec8e</code></a> Prepare rand 0.8.1</li> <li><a href="https://github.com/rust-random/rand/commit/a63eb3ad3605bee74ef8d61892d07e99d5bd88b1"><code>a63eb3a</code></a> Prepare rand_core 0.6.1</li> <li><a href="https://github.com/rust-random/rand/commit/3c19b97b7a04af6d443215f003fbb00480ed9c89"><code>3c19b97</code></a> Enable all stable features in the playground</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/0.7.3...0.8.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=rand&package-manager=cargo&previous-version=0.7.3&new-version=0.8.2)](https://dependabot.com/compatibility-score/?dependency-name=rand&package-manager=cargo&previous-version=0.7.3&new-version=0.8.2) 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:54:04 +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/spotify-tui#990
No description provided.