File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 43
43
44
44
### Project Scope
45
45
46
- TODO
46
+ The ` rand_core ` library has the following scope:
47
+
48
+ - the core traits which RNGs may implement
49
+ - tools for implementing these traits
50
+
51
+ The ` rand ` library has the following scope:
52
+
53
+ - re-export all parts of ` rand_core ` applicable to end users
54
+ - an interface to request entropy from an external source
55
+ - hooks to provide entropy from several platform-specific sources
56
+ - traits covering common RNG functionality
57
+ - some PRNGs, notably ` StdRng ` and ` SmallRng `
58
+ - ` thread_rng ` auto-seeding source of randomness
59
+ - conversion of random bits to common types and uses
60
+ - shuffling and sampling from sequences
61
+ - sampling from various random number distributions
62
+
63
+ Note: the scope of the project and above libraries may change. We are currently
64
+ discussing moving PRNGs (#431 ) and distributions (#290 ) to other libraries or
65
+ projects.
47
66
48
67
### Code style
49
68
You can’t perform that action at this time.
0 commit comments