-
-
Notifications
You must be signed in to change notification settings - Fork 485
Description
If I understand, rand_core now depends upon getrandom for SeedableRng::from_entropy, which makes the rand_os crate pointless.
Ideally, I'd think OsRng should be merged into rand_core, rand_os should be deprecated, and the SeedableRng::from_entropy method removed.
Alternatively, you might remove both SeedableRng::from_entropy method and the rand_core dependency on getrandom, making rand_os the only crate that ever depends upon getrandom, so getrandom could be folded into rand_os, but nobody cares.
In all cases, there should be no crates anywhere besides the one containing OsRng that depend upon getrandom, but some crate called getrandom or rand_os separates out the OS specific code.
In all cases, RandCore v0.4 and v0.6? agree, so you can yank this whole RandCore v0.5 breakage mess.