Merged
Conversation
ff36f7a to
cbaffeb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
8e8c483→de0fac20.9→0.100.9→0.100.1.43→0.1.44Release Notes
rust-random/rand (rand)
v0.10.0Compare Source
Changes
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)Fillbe implemented for element types, not sliceable types (#1652)OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)SeedableRng::from_os_rng,try_from_os_rng(#1674)Clonesupport forStdRng,ReseedingRng(#1677)postcardinstead ofbincodeto test the serde feature (#1693)IteratorRandom::samplewhenamountis much larger than iterator size (#1695)os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
IndexedRandom::choose_iter,choose_weighted_iter(#1632)Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)rand::make_rng() -> R where R: SeedableRng(#1734)Removals
ReseedingRng(#1722)small_rng(#1732)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)v0.9.4Compare Source
tokio-rs/tracing (tracing)
v0.1.44: tracing 0.1.44Compare Source
Fixed
record_allpanic (#3432)Changed
tracing-core: updated to 0.1.36 (#3440)Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.