chore(deps): update rust crate rand_core to 0.10.0 #10633
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.0→0.10.0Release Notes
rust-random/rand_core (rand_core)
v0.10.0This release makes a number of significant changes which we hope will be the
last significant breakage before 1.0. Code has moved from the rust-random/rand
repository to its own rust-random/rand_core.
User-facing API changes
Changed
RngCoreandTryRngCoreare renamed toRngandTryRngrespectively (#54)Rngis now an extension trait ofTryRng<Error = Infallible>(#45)TryRng::Erroris bound oncore::error::Errorinstead ofDebug + Display(#58)Sizedbound on impls ofSeedableRng(rand#1641)Added
SeedableRng::{fork, try_fork}methods (#17)core::convert::Infallible(#56)Removed
TryRng::read_adaptermethod (replaced withrand::RngReader) (rand#1669)os_rngcrate feature (rand#1674)OsRngandOsErrorstructs (rand#1674)SeedableRng::from_os_rngandSeedableRng::try_from_os_rngmethods (rand#1674)getrandomdependency (rand#1674)stdcrate feature (rand#1674)serdedependency (#28)UnwrapMutstruct andRng::unwrap_mutmethod (#45)Rng::unwrap_errmethod in favor of explicit wrapping inUnwrapErr(#53)API changes to PRNG implementation helpers
Added
BlockRng::reconstructandBlockRng::remaining_resultsmethods (#36)block::Generator::dropmethod (#35)BlockRng::word_offsetmethod (#44)Changed
lehelper functions with newutilshelpers (rand#1667, #34, #38, #45)BlockRng::generate_and_setmethod toreset_and_skip(#44)block::BlockRngCoretrait toblock::Generator(#26)BlockRngCore::Resultsassociated type toOutputand remove type bounds on it (#26)Removed
RngforBlockRng, making the latter more generic (#34)BlockRng64struct (#34)BlockRng::resetmethod (#44)BlockRng::indexmethod (replaced withBlockRng::word_offset) (#44)Generator::Itemassociated type (#26)CryptoBlockRng(#69)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.