209 Commits

Author SHA1 Message Date
Diggory Hardy
2f9e9b2df6 Update rand_core and rand_jitter versions 2019-08-22 08:25:53 +01:00
Diggory Hardy
73251d52ff Update rand_core::Error in line with getrandom::Error 2019-08-22 08:24:23 +01:00
Diggory Hardy
9ff68dcd01 Update changelogs and crate versions 2019-08-09 10:06:10 +01:00
Diggory Hardy
b00595e0f8 Move OsRng to rand_core 2019-08-09 10:03:01 +01:00
newpavlov
e02b467eca license field fixes 2019-08-08 11:44:35 +03:00
Diggory Hardy
684aa8f8a6
Merge pull request #840 from vks/clippy
rand: Fix most clippy warnings
2019-07-25 15:58:53 +01:00
Virgile Andreani
16893c8646 Fix syntax of some links in documentation 2019-07-23 18:59:02 +02:00
Vinzent Steinberg
1510b6ce7b Fix typo 2019-07-22 10:31:45 +02:00
Vinzent Steinberg
183fadb81e rand_core: Replace transmutes with safe code 2019-07-09 14:12:35 +02:00
Vinzent Steinberg
6947154d5f rand_core: Fix clippy warnings 2019-07-09 14:04:13 +02:00
Vinzent Steinberg
dcfd3569de Clippy: Whitelist a false positive about alignment 2019-07-09 12:59:38 +02:00
Vinzent Steinberg
8f4e456bed rand_core: Fix serde1 feature 2019-06-12 18:19:44 +02:00
Vinzent Steinberg
294d16c3c6 Fix no_std and alloc builds 2019-06-12 18:10:13 +02:00
Vinzent Steinberg
0113c8d141 rand_core: Use Rust 2018 2019-06-12 16:27:11 +02:00
Diggory Hardy
7c8284fd77 Adjust inlining
See #817
2019-06-06 09:32:09 +01:00
Diggory Hardy
c1ba4210e8 Prepare rand_core 0.5 release 2019-06-05 14:27:45 +01:00
Diggory Hardy
ca1b7c429a rand_core::Error: replace internal representation and adjust API
This is a significant breaking change, discussed in #800.
Also rand::rngs::adapter::read is no longer publically exported.
2019-05-28 10:27:26 +01:00
Diggory Hardy
959043d7d6 rand_core::Error: support using a code also with std 2019-05-17 17:52:22 +01:00
Diggory Hardy
f42abf8ff1 Make Error::msg a private field 2019-05-16 17:14:33 +01:00
Diggory Hardy
b61e61b3a7 Move from_entropy to SeedableRng and update RngCore doc 2019-05-16 17:13:07 +01:00
Diggory Hardy
a4e5f019f7 Support From<getrandom::Error> for rand_core::Error
This gives us an alternative to feature-specific behaviour
2019-05-16 17:13:07 +01:00
Diggory Hardy
6daae3e953 rand_core: remove ErrorKind enum
This is virtually no usage, thus it was decided to remove
2019-05-16 17:13:07 +01:00
Diggory Hardy
8f186ab5ac
Merge pull request #784 from RalfJung/as-byte-slice-mut
fix extracting a u64 on little-endian CPUs
2019-04-23 15:18:31 +01:00
Ralf Jung
b20092369f fix extracting a u64 on little-endian CPUs 2019-04-22 20:09:42 +02:00
Diggory Hardy
0c0f9311bb Remove specialisations of fill_bytes for block RNGs
These specialisations relied on casting a u8 byte slice to
a u32 or u64 slice, which is UB due to alignment requirements.
2019-04-22 11:42:07 +01:00
Diggory Hardy
476cb6df79
Merge pull request #780 from RalfJung/as-byte-slice-mut
fix AsByteSliceMut using raw pointers with bad provenance
2019-04-20 12:52:28 +01:00
Ralf Jung
d9c611f91e fix unaligned and illegal-provenance reads in next_u64 2019-04-19 17:43:19 +02:00
Diggory Hardy
33002ecd58 Add explanations of cross-version crate compatibility to README 2019-04-18 10:11:58 +01:00
Diggory Hardy
67069d161c Bump MSRV to 1.32.0 2019-03-28 10:51:29 +00:00
Xidorn Quan
51821a9417 Add '/' to all documents on github.io 2019-03-10 11:09:28 +11:00
Diggory Hardy
67c856bfe9 Disable std feature by default in rand_core and rand_jitter
Implements #702
Resolves #645
2019-01-23 12:50:20 +00:00
newpavlov
300b84b37f fix errors 2019-01-14 14:45:48 +03:00
Артём Павлов [Artyom Pavlov]
b4513063af Use RFC 1946 for doc links 2019-01-11 03:03:32 +03:00
Diggory Hardy
fdd78bc2e2 Switch documentation links primarily to rust-random.github.io; revise shields 2018-11-22 19:27:08 +00:00
Vinzent Steinberg
c869087c50 Use rust-random for appveyor 2018-09-27 11:44:07 +02:00
Diggory Hardy
a55ba3feb4 Update AppVeyor build status link 2018-09-25 14:19:37 +01:00
Diggory Hardy
d6501990b3 Merge branch '0.5' 2018-09-24 12:39:49 +01:00
Diggory Hardy
4685924f30
Merge pull request #599 from dhardy/merge-0.5
Merge 0.5
2018-09-24 12:18:32 +01:00
Diggory Hardy
7dd05ed335 Prepare rand_core 0.3 release 2018-09-22 10:31:38 +01:00
Diggory Hardy
459571ce2a Backport changes from master 2018-09-22 10:17:17 +01:00
Diggory Hardy
26b87964b6 seed_from_u64: tweak documentation and test 2018-09-17 10:14:28 +01:00
Diggory Hardy
21cbc9b26a Isaac*Rng: replace new_from_u64 with seed_from_u64 2018-09-17 10:14:28 +01:00
Diggory Hardy
e1d059fab2 Implement SeedableRng::seed_from_u64 2018-09-17 10:14:08 +01:00
Diggory Hardy
a50042d9d4 Follow up on #591: update authors and add new copyright where missed 2018-09-17 10:06:28 +01:00
Diggory Hardy
92aa49804b Remove references to COPYRIGHT file which are not needed
We have no sub-packages under different licences
2018-09-10 15:37:36 +01:00
Diggory Hardy
16291b67ec seed_from_u64: tweak documentation and test 2018-09-03 17:14:51 +01:00
Diggory Hardy
e7b50109af Fix COPYRIGHT file and copy to sub-projects 2018-08-24 09:22:35 +01:00
Diggory Hardy
d291f71fd4 Add COPYRIGHT file and update copyright & licence notices 2018-08-16 15:38:40 +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
Diggory Hardy
f2d813ec2f Isaac*Rng: replace new_from_u64 with seed_from_u64 2018-07-16 11:13:59 +01:00