[PR #494] [MERGED] Update rand requirement to ^0.5 #1478

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/494
Author: @dependabot-preview[bot]
Created: 5/28/2018
Status: Merged
Merged: 5/29/2018
Merged by: @bluejekyll

Base: masterHead: dependabot/cargo/rand-tw-0.5


📝 Commits (2)

  • 16a3df5 Update rand requirement to ^0.5
  • 527ef43 Merge branch 'master' into dependabot/cargo/rand-tw-0.5

📊 Changes

5 files changed (+5 additions, -5 deletions)

View changed files

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

📄 Description

Updates the requirements on rand to permit the latest version.

Changelog

Sourced from rand's changelog.

[0.5.0] - 2018-05-21

Crate features and organisation

  • Minimum Rust version update: 1.22.0. (#239)
  • Create a separate rand_core crate. (#288)
  • Deprecate rand_derive. (#256)
  • Add prelude (and module reorganisation). (#435)
  • Add log feature. Logging is now available in JitterRng, OsRng, EntropyRng and ReseedingRng. (#246)
  • Add serde1 feature for some PRNGs. (#189)
  • stdweb feature for OsRng support on WASM via stdweb. (#272, #336)

Rng trait

  • Split Rng in RngCore and Rng extension trait.
    next_u32, next_u64 and fill_bytes are now part of RngCore. (#265)
  • Add Rng::sample. (#256)
  • Deprecate Rng::gen_weighted_bool. (#308)
  • Add Rng::gen_bool. (#308)
  • Remove Rng::next_f32 and Rng::next_f64. (#273)
  • Add optimized Rng::fill and Rng::try_fill methods. (#247)
  • Deprecate Rng::gen_iter. (#286)
  • Deprecate Rng::gen_ascii_chars. (#279)

rand_core crate

  • rand now depends on new rand_core crate (#288)
  • RngCore and SeedableRng are now part of rand_core. (#288)
  • Add modules to help implementing RNGs impl and le. (#209, #228)
  • Add Error and ErrorKind. (#225)
  • Add CryptoRng marker trait. (#273)
  • Add BlockRngCore trait. (#281)
  • Add BlockRng and BlockRng64 wrappers to help implementations. (#281, #325)
  • Revise the SeedableRng trait. (#233)
  • Remove default implementations for RngCore::next_u64 and RngCore::fill_bytes. (#288)
  • Add RngCore::try_fill_bytes. (#225)

Other traits and types

  • Add FromEntropy trait. (#233, #375)
  • Add SmallRng wrapper. (#296)
  • Rewrite ReseedingRng to only work with BlockRngCore (substantial performance improvement). (#281)
  • Deprecate weak_rng. Use SmallRng instead. (#296)
  • Deprecate AsciiGenerator. (#279)

Random number generators

  • Switch StdRng and thread_rng to HC-128. (#277)
  • StdRng must now be created with from_entropy instead of new
  • Change thread_rng reseeding threshold to 32 MiB. (#277)
  • PRNGs no longer implement Copy. (#209)
  • Debug implementations no longer show internals. (#209)
  • Implement Clone for ReseedingRng, JitterRng, OsRng`. (#383, #384)
  • Implement serialization for XorShiftRng, IsaacRng and Isaac64Rng under the serde1 feature. (#189)
  • Implement BlockRngCore for ChaChaCore and Hc128Core. (#281)
... (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 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 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 (this|these) label[s] will set the current labels as the default for future PRs for this repo and language
  • @dependabot use (this|these) reviewer[s] will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use (this|these) assignee[s] will set the current assignees as the default for future PRs for this repo and language

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/494 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 5/28/2018 **Status:** ✅ Merged **Merged:** 5/29/2018 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `master` ← **Head:** `dependabot/cargo/rand-tw-0.5` --- ### 📝 Commits (2) - [`16a3df5`](https://github.com/hickory-dns/hickory-dns/commit/16a3df55fb673885402227025bc1c8abf8d9fd0b) Update rand requirement to ^0.5 - [`527ef43`](https://github.com/hickory-dns/hickory-dns/commit/527ef430d563656b134c8775f586b1185bd4ecee) Merge branch 'master' into dependabot/cargo/rand-tw-0.5 ### 📊 Changes **5 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/Cargo.toml` (+1 -1) 📝 `compatibility-tests/Cargo.toml` (+1 -1) 📝 `integration-tests/Cargo.toml` (+1 -1) 📝 `proto/Cargo.toml` (+1 -1) 📝 `server/Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [rand](https://github.com/rust-lang-nursery/rand) to permit the latest version. <details> <summary>Changelog</summary> *Sourced from [rand's changelog](https://github.com/rust-lang-nursery/rand/blob/master/CHANGELOG.md).* > ## [0.5.0] - 2018-05-21 > > ### Crate features and organisation > - Minimum Rust version update: 1.22.0. ([#239](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/239)) > - Create a separate `rand_core` crate. ([#288](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/288)) > - Deprecate `rand_derive`. ([#256](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/256)) > - Add `prelude` (and module reorganisation). ([#435](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/435)) > - Add `log` feature. Logging is now available in `JitterRng`, `OsRng`, `EntropyRng` and `ReseedingRng`. ([#246](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/246)) > - Add `serde1` feature for some PRNGs. ([#189](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/189)) > - `stdweb` feature for `OsRng` support on WASM via stdweb. ([#272](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/272), [#336](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/336)) > > ### `Rng` trait > - Split `Rng` in `RngCore` and `Rng` extension trait. > `next_u32`, `next_u64` and `fill_bytes` are now part of `RngCore`. ([#265](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/265)) > - Add `Rng::sample`. ([#256](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/256)) > - Deprecate `Rng::gen_weighted_bool`. ([#308](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/308)) > - Add `Rng::gen_bool`. ([#308](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/308)) > - Remove `Rng::next_f32` and `Rng::next_f64`. ([#273](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/273)) > - Add optimized `Rng::fill` and `Rng::try_fill` methods. ([#247](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/247)) > - Deprecate `Rng::gen_iter`. ([#286](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/286)) > - Deprecate `Rng::gen_ascii_chars`. ([#279](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/279)) > > ### `rand_core` crate > - `rand` now depends on new `rand_core` crate ([#288](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/288)) > - `RngCore` and `SeedableRng` are now part of `rand_core`. ([#288](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/288)) > - Add modules to help implementing RNGs `impl` and `le`. ([#209](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/209), [#228](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/228)) > - Add `Error` and `ErrorKind`. ([#225](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/225)) > - Add `CryptoRng` marker trait. ([#273](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/273)) > - Add `BlockRngCore` trait. ([#281](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/281)) > - Add `BlockRng` and `BlockRng64` wrappers to help implementations. ([#281](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/281), [#325](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/325)) > - Revise the `SeedableRng` trait. ([#233](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/233)) > - Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. ([#288](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/288)) > - Add `RngCore::try_fill_bytes`. ([#225](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/225)) > > ### Other traits and types > - Add `FromEntropy` trait. ([#233](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/233), [#375](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/375)) > - Add `SmallRng` wrapper. ([#296](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/296)) > - Rewrite `ReseedingRng` to only work with `BlockRngCore` (substantial performance improvement). ([#281](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/281)) > - Deprecate `weak_rng`. Use `SmallRng` instead. ([#296](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/296)) > - Deprecate `AsciiGenerator`. ([#279](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/279)) > > ### Random number generators > - Switch `StdRng` and `thread_rng` to HC-128. ([#277](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/277)) > - `StdRng` must now be created with `from_entropy` instead of `new` > - Change `thread_rng` reseeding threshold to 32 MiB. ([#277](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/277)) > - PRNGs no longer implement `Copy`. ([#209](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/209)) > - `Debug` implementations no longer show internals. ([#209](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/209)) > - Implement `Clone` for `ReseedingRng`, `JitterRng`, OsRng`. ([#383](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/383), [#384](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/384)) > - Implement serialization for `XorShiftRng`, `IsaacRng` and `Isaac64Rng` under the `serde1` feature. ([#189](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/189)) > - Implement `BlockRngCore` for `ChaChaCore` and `Hc128Core`. ([#281](https://github-redirect.dependabot.com/rust-lang-nursery/rand/issues/281)) ></table> ... (truncated) </details> <details> <summary>Commits</summary> - See full diff in [compare view](https://github.com/rust-lang-nursery/rand/commits/0.5.0) </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`. --- <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 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 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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language - `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language 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:08:40 +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#1478
No description provided.