dhardy / rand

http://doc.rust-lang.org/rand
Other
2 stars 2 forks source link

Move external RNGs? #61

Closed dhardy closed 6 years ago

dhardy commented 6 years ago

As noted here, the external RNGs OsRng and JitterRng could easily be moved to another crate and may be of use to users not needing other parts of rand (especially crypto libraries).

Three options:

The last one may not be ideal; part of the rationale for rand-core was to make it a small, easily reviewable API crate (a goal it already does poorly on).

@briansmith @jmst @bhickey @nagisa @joshlf, any opinion on this?

arthurprs commented 6 years ago

I think it's ok to keep it into rand, if it ever becomes a problem it can be moved out (and be re-exported from rand).