Diggory Hardy
|
736a6e06ce
|
BlockRng: make core public and remove inner() and inner_mut()
|
2018-05-04 07:58:59 +01:00 |
|
Paul Dicker
|
3a8ae170c6
|
Require AsMut for BlockRngCore::Results
|
2018-05-03 15:33:59 +02:00 |
|
Paul Dicker
|
d8da965e71
|
Rely on serde_derive 1.0.38
|
2018-05-03 15:33:59 +02:00 |
|
Paul Dicker
|
6c9013def9
|
Deny missing docs in rand_core
|
2018-05-03 15:33:57 +02:00 |
|
Paul Dicker
|
8f3f57ead1
|
Update rand_core changelog
|
2018-05-03 15:09:56 +02:00 |
|
Paul Dicker
|
8492b75f9a
|
Provide BlockRng64::index and BlockRng64::generate_and_set
|
2018-05-03 15:09:56 +02:00 |
|
Paul Dicker
|
15bd4012ba
|
Fix BlockRng64::inner and BlockRng64::inner_mut to match BlockRng
|
2018-05-03 15:09:56 +02:00 |
|
Diggory Hardy
|
f067cee1ae
|
Fix BlockRng::fill_bytes bug and address ChaCha word_pos review concerns
|
2018-04-30 09:27:41 +01:00 |
|
Diggory Hardy
|
64a34ac515
|
ChaCha: replace set_counter with get/set_word_pos and set_stream
Also restricts the counter to 64-bits (still allows 1 ZiB output)
The primary rationale is simpler specification of this RNG.
|
2018-04-27 16:16:51 +01:00 |
|
Diggory Hardy
|
5f888a72ab
|
Enable std by default in rand_core; adjust CI targets
Avoid using --all and --features together
|
2018-04-19 11:44:01 +01:00 |
|
Diggory Hardy
|
6801e77412
|
Release: prepare rand_core 0.1.0
|
2018-04-16 15:28:47 +01:00 |
|
Diggory Hardy
|
2cb05559c3
|
Merge pull request #401 from pitdicker/fill_bytes_inlining
Change inlining in RngCore implementation for references
|
2018-04-16 12:58:07 +01:00 |
|
Paul Dicker
|
3ff9e746e4
|
Change inlining in RngCore implementation for references
|
2018-04-16 12:21:22 +02:00 |
|
Paul Dicker
|
9c9092711c
|
Improve doc on implementing Default
|
2018-04-16 12:14:58 +02:00 |
|
Diggory Hardy
|
ecb9647d65
|
Rename NewRng::new → FromEntropy::from_entropy
|
2018-04-15 13:36:21 +01:00 |
|
Paul Dicker
|
86493ca4be
|
Optimize fill_bytes_via
|
2018-04-15 13:15:50 +02:00 |
|
Paul Dicker
|
b55f47e838
|
Update rand_core CHANGELOG and README
|
2018-04-15 13:15:48 +02:00 |
|
Vinzent Steinberg
|
65e7cf1c5b
|
Fix doctest
|
2018-04-10 12:13:17 +02:00 |
|
Vinzent Steinberg
|
ed77f12df6
|
Simplify example for large seeds
|
2018-04-10 11:32:23 +02:00 |
|
Vinzent Steinberg
|
b75cfb59fc
|
Expand large seed example so it compiles
|
2018-04-10 11:09:18 +02:00 |
|
Vinzent Steinberg
|
dce75101f0
|
Don't suggest newtype pattern to work around invalid seeds
This does not work, because the seed has to implement `AsMut<[u8]>`, so
any invariants enforced by the constructor can be circumvented.
|
2018-04-10 10:58:06 +02:00 |
|
Vinzent Steinberg
|
c95a4a156b
|
Docs for implementing SeedableRng for large seeds
Fixes #354.
|
2018-04-09 19:15:21 +02:00 |
|
Diggory Hardy
|
29b2012172
|
Doc: update documentation regarding cryptographic security
|
2018-04-04 19:10:13 +01:00 |
|
Paul Dicker
|
ec6f5dd1a4
|
Rename serde-1 to serde1
|
2018-04-04 18:26:01 +02:00 |
|
Paul Dicker
|
204b9e48b2
|
Make BlockRng{64} fields private
|
2018-04-04 18:25:59 +02:00 |
|
Paul Dicker
|
db0da4a0a8
|
Add serde to rand_core::impl::{BlockRng, BlockRng64}
|
2018-04-03 08:41:49 +02:00 |
|
Paul Dicker
|
98ce6438ad
|
Add BlockRng64 wrapper
|
2018-04-03 08:41:48 +02:00 |
|
Paul Dicker
|
8f7daa508b
|
Fix dead links
|
2018-04-02 10:30:42 +02:00 |
|
Paul Dicker
|
722897b8d7
|
Add never panic guarantee to SeedableRng::from_seed
|
2018-04-01 18:21:30 +02:00 |
|
Diggory Hardy
|
d0ec5258cd
|
Merge pull request #343 from pitdicker/clippy
Clippy
|
2018-03-28 08:47:29 +01:00 |
|
Paul Dicker
|
d42dd7a846
|
Apply clippy suggestions for rand_core
|
2018-03-27 16:25:49 +02:00 |
|
Paul Dicker
|
d7d079274d
|
Small changes to cargo.toml
|
2018-03-27 15:20:21 +02:00 |
|
Paul Dicker
|
739ba95951
|
Add minimum rustc version badge
|
2018-03-27 10:44:20 +02:00 |
|
Diggory Hardy
|
34253b9143
|
Merge pull request #337 from dhardy/alloc-dep
rand_core: std depends on alloc, as for rand
|
2018-03-26 11:19:04 +01:00 |
|
Paul Dicker
|
d95659e43f
|
Merge pull request #330 from pitdicker/rand_core_readme
Changes to rand_core readme
|
2018-03-26 11:53:46 +02:00 |
|
Diggory Hardy
|
d6acc8f58c
|
rand_core: std depends on alloc, as for rand
|
2018-03-26 10:27:23 +01:00 |
|
Paul Dicker
|
a0b55559dd
|
Add no_std category for crates.io
|
2018-03-25 20:40:41 +02:00 |
|
Paul Dicker
|
e624d29777
|
Add badges for crates.io
|
2018-03-25 20:40:28 +02:00 |
|
Paul Dicker
|
9e2c138214
|
Changes to rand_core readme
|
2018-03-25 20:40:25 +02:00 |
|
Paul Dicker
|
0e81704987
|
Make the std feature require the alloc feature
|
2018-03-25 19:42:57 +02:00 |
|
Diggory Hardy
|
9073d8784d
|
Doc: fix lots of links
This uses relative paths between crates which works fine with locally-generated
documentation and should also with this:
https://rust-lang-nursery.github.io/rand/rand/index.html
|
2018-03-24 17:36:23 +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 |
|
Paul Dicker
|
d37d8d1c0e
|
Rename rand-core to rand_core
|
2018-03-23 13:36:46 +01:00 |
|