The next breaking release is likely to be v1.0. Potential changes: - [ ] Design of the `block` module. See #71 - [ ] Use `SEED_LEN` associated constant in the `SeedableRng` trait instead of the `Seed` associated type. Blocked on stabilization of [`generic_const_exprs`](https://github.com/rust-lang/rust/issues/76560). - [ ] Migrate from `Infallible` to `!`. Blocked on stabilization of the [never type](https://github.com/rust-lang/rust/issues/35121). (Could be backwards-compatible?) - [ ] Set `Infallible` as default type for `TryRng::Error`. Blocked on stabilization of [`associated_type_defaults`](https://github.com/rust-lang/rust/issues/29661). - [ ] Introduce `WordRng` trait with blanket impls for `TryRng` (see [below](https://github.com/rust-random/rand_core/issues/72#issuecomment-3830896249)). Conflicts with the blanket impl of `TryRng` for `T: DerefMut<Target = impl TryRng>`. Blocked on https://github.com/rust-lang/rust/issues/20400, mutually exclusive traits and/or negative trait bounds. - [ ] Remove `UnwrapErr::re` after support for reborrows is added to the language. See https://github.com/rust-lang/rfcs/issues/1403. Rejected changes: - Pass seeds by reference in `SeedableRng` instead of by value. - Use "natural" seed types instead of byte arrays. See https://github.com/rust-random/rand/pull/1670.
The next breaking release is likely to be v1.0.
Potential changes:
blockmodule. See Future ofblockmodule #71SEED_LENassociated constant in theSeedableRngtrait instead of theSeedassociated type. Blocked on stabilization ofgeneric_const_exprs.Infallibleto!. Blocked on stabilization of the never type. (Could be backwards-compatible?)Infallibleas default type forTryRng::Error. Blocked on stabilization ofassociated_type_defaults.WordRngtrait with blanket impls forTryRng(see below). Conflicts with the blanket impl ofTryRngforT: DerefMut<Target = impl TryRng>. Blocked on Can't write non-overlapping blanket impls that involve associated type bindings rust-lang/rust#20400, mutually exclusive traits and/or negative trait bounds.UnwrapErr::reafter support for reborrows is added to the language. See Some way to simulate&mutreborrows in user code rust-lang/rfcs#1403.Rejected changes:
SeedableRnginstead of by value.Seedtrait rand#1670.