rust-random / rust-random/rand_core
Tracking issue for the next breaking release
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
The next breaking release is likely to be v1.0.
Potential changes:
- Design of the
blockmodule. See #71 - Use
SEED_LENassociated constant in theSeedableRngtrait instead of theSeedassociated type. Blocked on stabilization ofgeneric_const_exprs. - Migrate from
Infallibleto!. Blocked on stabilization of the never type. (Could be backwards-compatible?) - Set
Infallibleas default type forTryRng::Error. Blocked on stabilization ofassociated_type_defaults. - Introduce
WordRngtrait with blanket impls forTryRng(see below). Conflicts with the blanket impl ofTryRngforT: DerefMut<Target = impl TryRng>. Blocked on https://github.com/rust-lang/rust/issues/20400, mutually exclusive traits and/or negative trait bounds. - Remove
UnwrapErr::reafter support for reborrows is added to the language. See https://github.com/rust-lang/rfcs/issues/1403. - Uninitialized buffer support. Blocked on https://github.com/rust-lang/rust/issues/117693.
- Remove
(try_)next_u32/u64methods? Suggested in https://github.com/rust-lang/rust/pull/157168
Rejected changes:
- Pass seeds by reference in
SeedableRnginstead of by value. - Use "natural" seed types instead of byte arrays. See https://github.com/rust-random/rand/pull/1670.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
This is a tracking issue rather than a self-contained code task; begin with the checklist and linked issue #71, then review each referenced Rust language blocker. It is done when the listed v1.0 changes are resolved or explicitly rejected and the release plan is updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100