Skip to content

rand: re-export rand_core #1604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

baloo
Copy link
Contributor

@baloo baloo commented Feb 22, 2025

  • Added a CHANGELOG.md entry

Summary

Motivation

Some structs defined in rand_core like UnwrapMut or UnwrapErr may be used by a consumer of rand. Re-exporting rand_core is an easier alternative than having the consumer depend rand and rand_core.

Details

@baloo
Copy link
Contributor Author

baloo commented Feb 22, 2025

This is meant as an alternative to #1594 and I agree with the comment made by @newpavlov here

@dhardy dhardy merged commit c7fe1c4 into rust-random:master Feb 22, 2025
15 checks passed
@dhardy
Copy link
Member

dhardy commented Feb 22, 2025

@baloo would you like to prepare the next rand_core release? Bump its version and touch up the CHANGELOG (with today as the release date).

@baloo baloo deleted the baloo/rand/re-export-rand_core branch February 22, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants