87 Commits

Author SHA1 Message Date
Diggory Hardy
6951164ec6 Bump MSRV to 1.51.0: support const generics by default 2022-08-14 08:59:24 +01:00
Pyry Kontio
2569e9d653
Mention disabling getrandom for wasm32-unknown-unknown in README (#1250) 2022-08-14 08:59:12 +01:00
Diggory Hardy
546acdc851
README: bump rand version 2022-02-14 08:38:55 +00:00
Sacha Muszlak
3e65a15cab
updated version in Cargo.toml example 2021-11-04 15:15:34 +01:00
r00ster
d8cde3fe57
Fix typos 2021-10-12 21:07:36 +02:00
rodrimati1992
d4256fcc6d
Added min_const_gen feature to README 2021-07-25 18:53:19 -03:00
Dirk Stolle
277e5b0e9d fix some typos 2021-06-15 22:27:37 +02:00
Diggory Hardy
d9c6a76048
README: add note regarding wasm32-unknown-unknown
Addresses #1110 and #1131.
2021-05-31 17:43:57 +01:00
Diggory Hardy
491014be44 Prepare rand v0.8.0 release 2020-12-14 16:04:34 +00:00
Diggory Hardy
95fea0ee8f Fix link in README; rename keyword as suggested in #1073 2020-12-14 14:59:52 +00:00
Diggory Hardy
33b8f37231 Address review: use assert_almost_eq macro 2020-12-14 13:44:46 +00:00
Diggory Hardy
0f53b56870 Update README files shields and doc 2020-12-13 11:00:07 +00:00
Diggory Hardy
2177a3dff3
README: what rand is / is not (#1065)
Also: add testing for simd_support on AppVeyor (fixes #1049)
2020-11-19 10:22:12 +00:00
Vinzent Steinberg
32ff4be358 Improve feature stability comment 2020-09-22 20:06:58 +02:00
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