-
-
Couldn't load subscription status.
- Fork 477
Open
Description
This issue tracks breaking changes for rand_core v0.10 and other potential changes for v1.0.
Breaking changes scheduled for v0.10:
- Bump MSRV and Edition for
rand_core#1668 - Move rand_core::impls::* to le #1667
- Move fn read_adapter out of trait TryRngCore #1669
- Move OsRng down to rand #1674
Problematic/blocked changes (more likely to hit v2.0 than v1.0):
- Can we merge
BlockRng64andBlockRngwithimpl<R: BlockRngCore<Item = u64>> RngCore for BlockRng<R>? No; firstly because Rust does not yet recognise thatR: BlockRngCore<Item = u32>is distinct fromR: BlockRngCore<Item = u64>and secondly becauseBlockRng64has ahalf_usedfield. - Can we replace usages of
UnwrapMutwithUnwrapErr<&mut Self>? It appears not since we don't haveimpl<R: TryRngCore> TryRngCore for &mut R(see next item). - Can we have
impl<R: RngCore> RngCore for &mut R? No; it conflicts withimpl<R: RngCore + ?Sized> TryRngCore for Rsince Rust does not yet support overlapping blanket impls (e.g. specialisation).
Other possible changes:
- Rename Rng -> RngExt, RngCore -> Rng #1288
- rand_core: introduce
Seedtrait #1670 - Further
blockmodule revisions. Little motivation in my opinion. - Tracker: proposed RngCore changes #1261
Metadata
Metadata
Assignees
Labels
No labels