Update rand requirement to 0.5 #243

Closed
dependabot-preview[bot] wants to merge 1 commit from dependabot/cargo/rand-0.5 into breaking
dependabot-preview[bot] commented 2018-05-22 02:22:44 -05:00 (Migrated from github.com)

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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.

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`. --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <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>
radix (Migrated from github.com) reviewed 2018-05-22 02:22:44 -05:00
KodrAus (Migrated from github.com) reviewed 2018-05-22 02:22:44 -05:00
Dylan-DPC-zz (Migrated from github.com) reviewed 2018-05-22 02:22:44 -05:00
kinggoesgaming (Migrated from github.com) reviewed 2018-05-22 02:22:44 -05:00
Dylan-DPC-zz commented 2018-05-22 06:29:06 -05:00 (Migrated from github.com)

Better to do this manually. Also we need to change the minimum rust version to 1.22.0
Refers #230

Better to do this manually. Also we need to change the minimum rust version to 1.22.0 Refers #230
dependabot-preview[bot] commented 2018-05-22 06:29:12 -05:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Dylan-DPC-zz commented 2018-05-29 12:35:01 -05:00 (Migrated from github.com)

Will be doing this manually since it is a major version upgrade.

Will be doing this manually since it is a major version upgrade.

Pull request closed

Sign in to join this conversation.
No milestone
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
gh-uuid-rs/uuid!243
No description provided.