Uh oh!
There was an error while loading. Please reload this page.
Add SysRng behind new feature sys_rng - #751
Conversation
dhardy
commented
Nov 18, 2025
@newpavlov your opinion on this please? There is an alternative: the |
newpavlov
commented
Nov 18, 2025
As I wrote previously, personally, I have a slight preference for a separate crate. But I would be fine with this PR as well, if others prefer it. P.S.: Note that |
josephlr
left a comment
There was a problem hiding this comment.
As I wrote previously, personally, I have a slight preference for a separate crate. But I would be fine with this PR as well, if others prefer it.
I think I would slightly lean towards having this as part of getrandom. A non-default additive feature seems like a good fit. I think the only complexity is figuring out what (if anything) this crate should re-export from rand_core.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
654872c to
5b2ab43Comparedhardy
commented
Nov 19, 2025
Thanks for moving this forward @josephlr. I think I addressed your concerns (except as commented). |
5b2ab43 to
1e873b4CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dhardy
commented
Nov 21, 2025
@newpavlov I addressed your concerns |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@josephlr @dhardy |
SysRng type implementing rand_core traitsdhardy
commented
Nov 24, 2025
@newpavlov see |
dhardy
commented
Nov 24, 2025
dhardy
commented
Nov 24, 2025
I added |
newpavlov
commented
Nov 24, 2025
What about changelog? It could worth to add
Personally, I don't see a problem with the provided rendering. |
dhardy
commented
Nov 24, 2025
Added CHANGELOG entry and test case. |
Uh oh!
There was an error while loading. Please reload this page.
SysRng type implementing rand_core traitsSysRng and UnwrappedSysRng behind new feature sys_rngSysRng and UnwrappedSysRng behind new feature sys_rngSysRng behind new feature sys_rngUh oh!
There was an error while loading. Please reload this page.
This was mentioned elsewhere: rust-random/rand#1675
Adds
rand_coreas a dependency, which is one small crate.This attempts to enable testing of
rngin all CI tests.