73 Commits

Author SHA1 Message Date
Vinzent Steinberg
b2b53f4b88 Disentangle nightly and simd_support feature
Now `nightly` can be used without implying `simd_support`. This
hopefully makes the `nightly` feature more stable and improves
compilation time if `simd_support` is not required.

The documentation and changelog were updated accordingly.
2020-09-22 20:06:58 +02:00
Vinzent Steinberg
7555747c16 Bump MSRV to 1.36 2020-08-28 15:31:56 +02:00
Diggory Hardy
abcd587bd8 Rand: add std_rng feature flag 2020-03-09 15:23:10 +00:00
Diggory Hardy
54a57b8e2b Add policy on yanked crates, add explanation for rand 0.7.1
Closes #893
2019-09-25 09:11:17 +01:00
Diggory Hardy
448524fb3a Add notice of future removal of getrandom's wasm features 2019-09-14 09:26:10 +01:00
Taiki Endo
918765da87 Apply requested changes 2019-08-23 05:59:05 +09:00
Vinzent Steinberg
51954b9723
Remove no longer relevant section from README 2019-06-28 16:27:12 +02:00
Vinzent Steinberg
b0b2246d9f Update README for 0.7 2019-06-27 13:53:06 +02:00
Vinzent Steinberg
84b0ddfcc4 rand: Remove serde1 feature
This feature does not do anything in the `rand` crate and was forwarded
to `rand_core`, where it was used for `BlockRng` and `BlockRng64`.
However, crates using this feature would use `rand_core` directly
instead, making the feature pointless for `rand`.

It is not expected to use this feature for any of the RNGs in `rand`.

This hopefully makes it possible to build `rand` on docs.rs again.
(See https://github.com/rust-lang/docs.rs/issues/369.)

Now the serde1 feature does not do anything, but it is still available
for backwards compatibility.
2019-06-24 17:35:18 +02:00
Diggory Hardy
b7abfb619d Feature-gate the SmallRng generator 2019-06-03 15:38:07 +01:00
Diggory Hardy
1ea01ae80e Update features doc 2019-06-03 15:37:54 +01:00
Diggory Hardy
33002ecd58 Add explanations of cross-version crate compatibility to README 2019-04-18 10:11:58 +01:00
Diggory Hardy
8cfe2101c5 Simplify and deprecate EntropyRng 2019-04-03 15:23:17 +01:00
Diggory Hardy
23e1f045c0 Re-implement OsRng in Rand
This is controversial: a small amount of code redundancy to
avoid an extra import.
2019-04-03 15:23:17 +01:00
Diggory Hardy
67069d161c Bump MSRV to 1.32.0 2019-03-28 10:51:29 +00:00
Diggory Hardy
42ece4f82a Document and correct usage of new rand_os "feature" 2019-01-08 11:15:06 +00:00
Diggory Hardy
fdd78bc2e2 Switch documentation links primarily to rust-random.github.io; revise shields 2018-11-22 19:27:08 +00:00
Diggory Hardy
2265c4ef2a Fix doc test and typo 2018-11-10 10:32:15 +00:00
Diggory Hardy
90e5c2c9a2 Move contributing and updating guides and policy to the book 2018-11-08 18:12:01 +00:00
Diggory Hardy
a55ba3feb4 Update AppVeyor build status link 2018-09-25 14:19:37 +01:00
Diggory Hardy
e7b50109af Fix COPYRIGHT file and copy to sub-projects 2018-08-24 09:22:35 +01:00
Diggory Hardy
f7497f77a4 Update paths due to relocation
Repo moved from rust-lang-nursery to rust-random
AppVeyor CI is now managed by dhardy
2018-08-13 18:00:37 +01:00
Vinzent Steinberg
8c75a348bd Replace i128_support feature with compile-time detection
This breaks builds using the `i128_support` feature with nightlies
supporting `i128` before Rust 1.26.
2018-07-30 13:33:47 +02:00
Vinzent Steinberg
ba3d27313f Document simd_support feature 2018-07-27 13:50:40 +01:00
Vinzent Steinberg
a7f8f348f6 Implement From<RangeInclusive> for Uniform
Fixes #556.
2018-07-27 13:50:40 +01:00
Diggory Hardy
3f191be98a Doc: add new doc/ sub-directory with index 2018-07-12 12:52:02 +01:00
Alex Crichton
140385528f Add support for wasm-bindgen
This commit adds support to implement the `rand` crate on the
wasm32-unknown-unknown target with the `wasm-bindgen`-based runtime. This
supports being run both in node.js as well as browsers by delegating
appropriately.

Closes #478
2018-07-11 07:07:38 -07:00
BC Ko
30b3cbcf16
added license badge 2018-06-28 12:04:01 -07:00
Paul Dicker
f8b8ffc7ff
Merge pull request #487 from vks/patch-2
Correct float range in README
2018-06-05 13:16:00 +02:00
Mazdak Farrokhzad
4e2d716992
Fix typo in README "anabled" => "enabled. 2018-06-01 23:42:40 +02:00
Vinzent Steinberg
cc80995ab1
Correct float range in README 2018-06-01 11:13:56 +02:00
Paul Dicker
8ae5b43a96 Update changelog 2018-05-30 09:26:13 +02:00
Roman Stoliar
ab2aa95e7b Wrapped up an example in README.md 2018-05-26 16:15:03 +03:00
Roman Stoliar
7bdc967d26 replace char by ch as identifier 2018-05-26 13:24:31 +03:00
Paul Dicker
66c7025b56 Update version numbers: rand_core 0.2.0 and rand 0.5.0 2018-05-21 15:27:02 +02:00
Paul Dicker
f0dcebb89d Address comments 2018-05-11 14:26:20 +02:00
Paul Dicker
d90a41c8a5 A bit more work on the readme 2018-05-11 11:23:04 +02:00
Diggory Hardy
aa4c483410 rand 0.5.0-pre.1 pre-release 2018-04-22 10:07:53 +01:00
Paul Dicker
ec6f5dd1a4 Rename serde-1 to serde1 2018-04-04 18:26:01 +02:00
Paul Dicker
0e949c9c4a Rename Uniform to Standard 2018-04-02 16:02:41 +02:00
Diggory Hardy
34b166fed0 Update README regarding versions and compatibility shims 2018-03-27 12:24:23 +01:00
Paul Dicker
739ba95951 Add minimum rustc version badge 2018-03-27 10:44:20 +02:00
Paul Dicker
ef703fd99f Rename wasm-stdweb to stdweb 2018-03-26 17:09:01 +02:00
Paul Dicker
2158f7a035 Put stdweb dependency behind a target feature 2018-03-26 17:08:25 +02:00
Paul Dicker
3084c8b987 Add more badges to Readme.md 2018-03-25 20:40:39 +02:00
Diggory Hardy
2924bd6672 Readme: link both generated doc sites 2018-03-24 17:40:58 +00:00
Diggory Hardy
85c48405d0 Doc: big update to library doc 2018-03-24 16:36:59 +00:00
Diggory Hardy
a4363ca04f Update READMEs.
Better doc of features in both crates.
Update version req to 0.5.0-pre.0. More updates are needed for final 0.5.
2018-03-24 16:36:59 +00:00
Diggory Hardy
70150046b9 Update readme: rustc version policy 2018-03-11 12:10:06 +00:00
Diggory Hardy
ad7c569fef Update READMEs regarding rand_derive 2018-02-18 09:06:43 +00:00