[PR #813] [MERGED] Bump rand from 0.6.5 to 0.7.0 #1704

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/813
Author: @dependabot-preview[bot]
Created: 7/1/2019
Status: Merged
Merged: 7/1/2019
Merged by: @bluejekyll

Base: masterHead: dependabot/cargo/rand-0.7.0


📝 Commits (2)

  • c501faf Bump rand from 0.6.5 to 0.7.0
  • 24f969a Merge branch 'master' into dependabot/cargo/rand-0.7.0

📊 Changes

6 files changed (+81 additions, -10 deletions)

View changed files

📝 Cargo.lock (+76 -5)
📝 crates/client/Cargo.toml (+1 -1)
📝 crates/proto/Cargo.toml (+1 -1)
📝 crates/server/Cargo.toml (+1 -1)
📝 tests/compatibility-tests/Cargo.toml (+1 -1)
📝 tests/integration-tests/Cargo.toml (+1 -1)

📄 Description

Bumps rand from 0.6.5 to 0.7.0.

Changelog

Sourced from rand's changelog.

[0.7.0] - 2019-06-28

Fixes

  • Fix incorrect pointer usages revealed by Miri testing (#780, #781)
  • Fix (tiny!) bias in Uniform for 8- and 16-bit ints (#809)

Crate

  • Bumped MSRV (min supported Rust version) to 1.32.0
  • Updated to Rust Edition 2018 (#823, #824)
  • Removed dependence on rand_xorshift, rand_isaac, rand_jitter crates (#759, #765)
  • Remove dependency on winapi (#724)
  • Removed all build.rs files (#824)
  • Removed code already deprecated in version 0.6 (#757)
  • Removed the serde1 feature (It's still available for backwards compatibility, but it does not do anything. #830)
  • Many documentation changes

rand_core

  • Updated to rand_core 0.5.0
  • Error type redesigned with new API (#800)
  • Move from_entropy method to SeedableRng and remove FromEntropy (#800)
  • SeedableRng::from_rng is now expected to be value-stable (#815)

Standard RNGs

  • OS interface moved from rand_os to new getrandom crate (#765, getrandom)
  • Use ChaCha for StdRng and ThreadRng (#792)
  • Feature-gate SmallRng (#792)
  • ThreadRng now supports Copy (#758)
  • Deprecated EntropyRng (#765)
  • Enable fork protection of ReseedingRng without std (#724)

Distributions

  • Many distributions have been moved to rand_distr (#761)
  • Bernoulli::new constructor now returns a Result (#803)
  • Distribution::sample_iter adjusted for more flexibility (#758)
  • Added distributions::weighted::alias_method::WeightedIndex for O(1) sampling (#692)
  • Support sampling NonZeroU* types with the Standard distribution (#728)
  • Optimised Binomial distribution sampling (#735, #740, #752)
  • Optimised SIMD float sampling (#739)

Sequences

  • Make results portable across 32- and 64-bit by using u32 samples for usize where possible (#809)
Commits

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
  • @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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.


🔄 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/hickory-dns/hickory-dns/pull/813 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 7/1/2019 **Status:** ✅ Merged **Merged:** 7/1/2019 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `master` ← **Head:** `dependabot/cargo/rand-0.7.0` --- ### 📝 Commits (2) - [`c501faf`](https://github.com/hickory-dns/hickory-dns/commit/c501faf361f3cc4e4c19dcf1ca574d94938534dd) Bump rand from 0.6.5 to 0.7.0 - [`24f969a`](https://github.com/hickory-dns/hickory-dns/commit/24f969a56b2231f9b410988dc89cf3eba07298ab) Merge branch 'master' into dependabot/cargo/rand-0.7.0 ### 📊 Changes **6 files changed** (+81 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+76 -5) 📝 `crates/client/Cargo.toml` (+1 -1) 📝 `crates/proto/Cargo.toml` (+1 -1) 📝 `crates/server/Cargo.toml` (+1 -1) 📝 `tests/compatibility-tests/Cargo.toml` (+1 -1) 📝 `tests/integration-tests/Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [rand](https://github.com/rust-random/rand) from 0.6.5 to 0.7.0. <details> <summary>Changelog</summary> *Sourced from [rand's changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md).* > ## [0.7.0] - 2019-06-28 > > ### Fixes > - Fix incorrect pointer usages revealed by Miri testing ([#780](https://github-redirect.dependabot.com/rust-random/rand/issues/780), [#781](https://github-redirect.dependabot.com/rust-random/rand/issues/781)) > - Fix (tiny!) bias in `Uniform` for 8- and 16-bit ints ([#809](https://github-redirect.dependabot.com/rust-random/rand/issues/809)) > > ### Crate > - Bumped MSRV (min supported Rust version) to 1.32.0 > - Updated to Rust Edition 2018 ([#823](https://github-redirect.dependabot.com/rust-random/rand/issues/823), [#824](https://github-redirect.dependabot.com/rust-random/rand/issues/824)) > - Removed dependence on `rand_xorshift`, `rand_isaac`, `rand_jitter` crates ([#759](https://github-redirect.dependabot.com/rust-random/rand/issues/759), [#765](https://github-redirect.dependabot.com/rust-random/rand/issues/765)) > - Remove dependency on `winapi` ([#724](https://github-redirect.dependabot.com/rust-random/rand/issues/724)) > - Removed all `build.rs` files ([#824](https://github-redirect.dependabot.com/rust-random/rand/issues/824)) > - Removed code already deprecated in version 0.6 ([#757](https://github-redirect.dependabot.com/rust-random/rand/issues/757)) > - Removed the serde1 feature (It's still available for backwards compatibility, but it does not do anything. [#830](https://github-redirect.dependabot.com/rust-random/rand/issues/830)) > - Many documentation changes > > ### rand_core > - Updated to `rand_core` 0.5.0 > - `Error` type redesigned with new API ([#800](https://github-redirect.dependabot.com/rust-random/rand/issues/800)) > - Move `from_entropy` method to `SeedableRng` and remove `FromEntropy` ([#800](https://github-redirect.dependabot.com/rust-random/rand/issues/800)) > - `SeedableRng::from_rng` is now expected to be value-stable ([#815](https://github-redirect.dependabot.com/rust-random/rand/issues/815)) > > ### Standard RNGs > - OS interface moved from `rand_os` to new `getrandom` crate ([#765](https://github-redirect.dependabot.com/rust-random/rand/issues/765), [getrandom](https://github.com/rust-random/getrandom)) > - Use ChaCha for `StdRng` and `ThreadRng` ([#792](https://github-redirect.dependabot.com/rust-random/rand/issues/792)) > - Feature-gate `SmallRng` ([#792](https://github-redirect.dependabot.com/rust-random/rand/issues/792)) > - `ThreadRng` now supports `Copy` ([#758](https://github-redirect.dependabot.com/rust-random/rand/issues/758)) > - Deprecated `EntropyRng` ([#765](https://github-redirect.dependabot.com/rust-random/rand/issues/765)) > - Enable fork protection of ReseedingRng without `std` ([#724](https://github-redirect.dependabot.com/rust-random/rand/issues/724)) > > ### Distributions > - Many distributions have been moved to `rand_distr` ([#761](https://github-redirect.dependabot.com/rust-random/rand/issues/761)) > - `Bernoulli::new` constructor now returns a `Result` ([#803](https://github-redirect.dependabot.com/rust-random/rand/issues/803)) > - `Distribution::sample_iter` adjusted for more flexibility ([#758](https://github-redirect.dependabot.com/rust-random/rand/issues/758)) > - Added `distributions::weighted::alias_method::WeightedIndex` for `O(1)` sampling ([#692](https://github-redirect.dependabot.com/rust-random/rand/issues/692)) > - Support sampling `NonZeroU*` types with the `Standard` distribution ([#728](https://github-redirect.dependabot.com/rust-random/rand/issues/728)) > - Optimised `Binomial` distribution sampling ([#735](https://github-redirect.dependabot.com/rust-random/rand/issues/735), [#740](https://github-redirect.dependabot.com/rust-random/rand/issues/740), [#752](https://github-redirect.dependabot.com/rust-random/rand/issues/752)) > - Optimised SIMD float sampling ([#739](https://github-redirect.dependabot.com/rust-random/rand/issues/739)) > > ### Sequences > - Make results portable across 32- and 64-bit by using `u32` samples for `usize` where possible ([#809](https://github-redirect.dependabot.com/rust-random/rand/issues/809)) </details> <details> <summary>Commits</summary> - See full diff in [compare view](https://github.com/rust-random/rand/commits) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=rand&package-manager=cargo&previous-version=0.6.5&new-version=0.7.0)](https://dependabot.com/compatibility-score.html?dependency-name=rand&package-manager=cargo&previous-version=0.6.5&new-version=0.7.0) 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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it - `@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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - 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) Finally, you can contact us by mentioning @dependabot. </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 02:20:51 +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/hickory-dns#1704
No description provided.