Conversation
|
@newpavlov your opinion on this please? There is an alternative: the |
|
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.
654872c to
5b2ab43
Compare
|
Thanks for moving this forward @josephlr. I think I addressed your concerns (except as commented). |
5b2ab43 to
1e873b4
Compare
|
@newpavlov I addressed your concerns |
|
@josephlr @dhardy |
SysRng type implementing rand_core traits
|
@newpavlov see |
|
I added |
|
What about changelog? It could worth to add
Personally, I don't see a problem with the provided rendering. |
|
Added CHANGELOG entry and test case. |
SysRng type implementing rand_core traitsSysRng and UnwrappedSysRng behind new feature sys_rng
SysRng and UnwrappedSysRng behind new feature sys_rngSysRng behind new feature sys_rng
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.