Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from dhardy/merge-small-rngs
Merge small rngs code
- Loading branch information
Showing
21 changed files
with
1,036 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.1] - 2018-10-04 | ||
- make `bincode` an explicit dependency when using Serde | ||
|
||
## [0.1.0] - 2018-10-04 | ||
Initial release, including: | ||
|
||
- `Lcg64Xsh32` aka `Pcg32` | ||
- `Mcg128Xsl64` aka `Pcg64Mcg` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Copyrights in the Rand project are retained by their contributors. No | ||
copyright assignment is required to contribute to the Rand project. | ||
|
||
For full authorship information, see the version control history. | ||
|
||
Except as otherwise noted (below and/or in individual files), Rand is | ||
licensed under the Apache License, Version 2.0 <LICENSE-APACHE> or | ||
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | ||
<LICENSE-MIT> or <http://opensource.org/licenses/MIT>, at your option. | ||
|
||
The Rand project includes code from the Rust project | ||
published under these same licenses. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[package] | ||
name = "rand_pcg" | ||
version = "0.1.1" # NB: When modifying, also modify html_root_url in lib.rs | ||
authors = ["The Rand Project Developers"] | ||
license = "MIT/Apache-2.0" | ||
readme = "README.md" | ||
repository = "https://github.com/rust-random/rand" | ||
documentation = "https://docs.rs/rand_pcg" | ||
homepage = "https://crates.io/crates/rand_pcg" | ||
description = """ | ||
Selected PCG random number generators | ||
""" | ||
keywords = ["random", "rng", "pcg"] | ||
categories = ["algorithms", "no-std"] | ||
build = "build.rs" | ||
|
||
[badges] | ||
travis-ci = { repository = "rust-random/rand" } | ||
appveyor = { repository = "rust-random/rand" } | ||
|
||
[features] | ||
serde1 = ["serde", "serde_derive"] | ||
|
||
[dependencies] | ||
rand_core = { path = "../rand_core", version = "0.3", default-features=false } | ||
serde = { version = "1", optional = true } | ||
serde_derive = { version = "^1.0.38", optional = true } | ||
|
||
[dev-dependencies] | ||
# This is for testing serde, unfortunately we can't specify feature-gated dev | ||
# deps yet, see: https://github.com/rust-lang/cargo/issues/1596 | ||
# TODO: we shouldn't have to depend on i128 directly; it breaks tests on old | ||
# compilers. `bincode` should automatically support this. | ||
bincode = { version = "1", features = ["i128"] } | ||
|
||
[build-dependencies] | ||
rustc_version = "0.2" |
Oops, something went wrong.