Commit Graph

1690 Commits

Author SHA1 Message Date
Diggory Hardy cd16da443b Merge pull request #534 from bcko/patch-2
added license badge
2018-06-29 15:58:15 +01:00
BC Ko a3567eeab6 added license badge for rand_core 2018-06-29 06:59:46 -07:00
Diggory Hardy 950c0af271 Merge pull request #523 from pitdicker/simd_support_basic
Add basic SIMD support
2018-06-29 09:45:00 +01:00
BC Ko 30b3cbcf16 added license badge 2018-06-28 12:04:01 -07:00
Diggory Hardy 3af227a2bf Merge branch '0.5' 2018-06-27 10:32:06 +01:00
Diggory Hardy ad142170d6 Merge pull request #530 from worr/bug/openbsd-typo-5
Rename `s` -> `dest` on OpenBSD and bitrig
2018-06-27 10:27:30 +01:00
Paul Dicker 5c948fe05a Rename NaturalCompare and math_helpers 2018-06-26 15:14:59 +02:00
William Orr 91dede8bff Update for release 0.5.3 2018-06-26 00:03:21 -07:00
William Orr 4633131578 Rename s -> dest on OpenBSD and bitrig
This fixes a failing build on OpenBSD and bitrig. Some refactoring in
8c67fc4 missed some variable renaming in the getentropy backend.
2018-06-25 23:51:21 -07:00
Paul Dicker 4dab1e3da7 Add math_helpers module and various fixes 2018-06-22 10:50:44 +02:00
Paul Dicker 209836f7c3 Implement Uniform for SIMD float types 2018-06-21 21:28:10 +02:00
Paul Dicker d80efb2bf1 Implement Standard for SIMD float types 2018-06-21 21:27:20 +02:00
Paul Dicker 38b9a29516 Implement Standard for SIMD integer types 2018-06-21 18:23:04 +02:00
Paul Dicker f792e480ab Add simd_support feature 2018-06-21 18:21:28 +02:00
Diggory Hardy af1303c8bd Merge pull request #519 from Pazzaz/char-standard
Avoid surrogates when generating `char` using Standard distribution
2018-06-21 13:47:21 +01:00
Pazzaz 02a7a11902 Mention reason for interval choise 2018-06-20 18:52:41 +02:00
Pazzaz 0b1061afc2 Avoid surrogates when generating char using Standard distribution 2018-06-20 18:38:38 +02:00
Diggory Hardy b7b1176269 Merge branch '0.5' 2018-06-20 09:29:08 +01:00
Diggory Hardy 584f2ef362 Merge pull request #515 from sicking/seq_tests
Improve tests for some seq APIs
2018-06-20 09:15:48 +01:00
Jonas Sicking 5239e8cce2 Improve tests for some seq APIs 2018-06-18 00:20:07 -04:00
Paul Dicker 547a664562 Merge pull request #516 from dhardy/0.5
Update version and changelog for 0.5.2 release.
2018-06-16 14:25:15 +02:00
Diggory Hardy 1ca1303b01 Update version and changelog for 0.5.2 release. 2018-06-16 09:55:38 +01:00
Diggory Hardy 605bf30c88 Merge pull request #514 from pitdicker/merge_0.5
Merge 0.5
2018-06-16 09:47:02 +01:00
Paul Dicker 468a34b6cf Merge pull request #513 from pitdicker/borrow_links
Fix Borrow links
2018-06-15 20:41:12 +02:00
Paul Dicker 692e78fb3b Fix links 2018-06-15 19:53:27 +02:00
Paul Dicker 8b211a62bb Merge branch '0.5' into master 2018-06-15 19:43:17 +02:00
Paul Dicker 3320597998 Merge pull request #512 from pitdicker/complicate_entropy_rng_0.5
Complicate entropy rng 0.5
2018-06-15 19:34:28 +02:00
Diggory Hardy bd3a806fbc Merge pull request #466 from pitdicker/fork_protection
Add Unix fork protection
2018-06-15 18:11:14 +01:00
Paul Dicker 6879c0fbf2 Rewrite EntropyRng 2018-06-15 18:57:51 +02:00
Paul Dicker 8a81d7c2c7 Make OsRng unavailable on unsupported platforms 2018-06-15 18:57:25 +02:00
Paul Dicker 6898630d86 Make JitterRng::new and dummy timer unavailable on WASM 2018-06-15 18:50:34 +02:00
Paul Dicker 31ba48e2fa Allow unused logging macros 2018-06-15 18:48:32 +02:00
Paul Dicker 24bbd4f8c0 JitterRng timer fixes 2018-06-15 18:48:07 +02:00
Paul Dicker 5edec75429 Update ReseedingRng documentation
And support setting no threshold with zero
2018-06-15 18:16:13 +02:00
Paul Dicker e9013efb0c Create fork module 2018-06-15 18:14:32 +02:00
Paul Dicker bccefbc27f Use atomic fork counter 2018-06-15 18:14:32 +02:00
Paul Dicker cf84ba66d7 Add Unix fork protection 2018-06-15 18:14:32 +02:00
Diggory Hardy 757f8ee4a7 Merge pull request #509 from sicking/borrow_fix
Fix ambiguity issues in use of Borrow<T>
2018-06-15 14:37:56 +01:00
Diggory Hardy 8f2290f0ad Merge pull request #483 from rust-lang-nursery/seq
Sequence functionality: API revisions
2018-06-15 14:35:54 +01:00
Diggory Hardy 1b118c2335 Revise seq benches 2018-06-15 13:32:44 +01:00
Diggory Hardy c083d580f6 Move seq benches to new file 2018-06-15 13:32:44 +01:00
Diggory Hardy b20944da9a Implement SliceRandom::partial_shuffle 2018-06-15 13:32:44 +01:00
Diggory Hardy 0de02f18e0 Implement IteratorRandom::choose 2018-06-15 13:32:44 +01:00
Diggory Hardy 545895b84d Implement new choose_multiple functions 2018-06-15 13:32:44 +01:00
Diggory Hardy f64ce3ae7c Move choose, choose_mut and shuffle from Rng to SliceExt 2018-06-15 13:32:44 +01:00
Diggory Hardy 81b7f410ae Sequence functionality: API revisions 2018-06-15 13:32:44 +01:00
Diggory Hardy 4228914505 Revert "Disable benchmarks without alloc"
This reverts commit 27c4b54906.
2018-06-15 12:44:06 +01:00
Jonas Sicking fd9f3e4312 Fix ambiguity issues in use of Borrow<T> 2018-06-15 02:03:38 -07:00
Diggory Hardy 27c4b54906 Disable benchmarks without alloc
Allows testing --benches without allocator
2018-06-14 10:14:15 +01:00
Diggory Hardy 421f2eca69 Enable seq module without std or alloc features
The module has no items available without the features, but will later.
2018-06-14 10:14:12 +01:00