Update paths due to relocation
Repo moved from rust-lang-nursery to rust-random AppVeyor CI is now managed by dhardy
This commit is contained in:
parent
0671cf834e
commit
f7497f77a4
@ -4,7 +4,7 @@ version = "0.5.5" # NB: When modifying, also modify html_root_url in lib.rs
|
|||||||
authors = ["The Rust Project Developers"]
|
authors = ["The Rust Project Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rust-lang-nursery/rand"
|
repository = "https://github.com/rust-random/rand"
|
||||||
documentation = "https://docs.rs/rand"
|
documentation = "https://docs.rs/rand"
|
||||||
homepage = "https://crates.io/crates/rand"
|
homepage = "https://crates.io/crates/rand"
|
||||||
description = """
|
description = """
|
||||||
@ -15,8 +15,8 @@ categories = ["algorithms", "no-std"]
|
|||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
travis-ci = { repository = "rust-lang-nursery/rand" }
|
travis-ci = { repository = "rust-random/rand" }
|
||||||
appveyor = { repository = "alexcrichton/rand" }
|
appveyor = { repository = "dhardy/rand" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std" ] # without "std" rand uses libcore
|
default = ["std" ] # without "std" rand uses libcore
|
||||||
|
10
README.md
10
README.md
@ -1,11 +1,11 @@
|
|||||||
# Rand
|
# Rand
|
||||||
|
|
||||||
[](https://travis-ci.org/rust-lang-nursery/rand)
|
[](https://travis-ci.org/rust-random/rand)
|
||||||
[](https://ci.appveyor.com/project/alexcrichton/rand)
|
[](https://ci.appveyor.com/project/dhardy/rand)
|
||||||
[](https://crates.io/crates/rand)
|
[](https://crates.io/crates/rand)
|
||||||
[](https://docs.rs/rand)
|
[](https://docs.rs/rand)
|
||||||
[](https://github.com/rust-lang-nursery/rand#rust-version-requirements)
|
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||||
[](https://github.com/rust-lang-nursery/rand#license)
|
[](https://github.com/rust-random/rand#license)
|
||||||
|
|
||||||
A Rust library for random number generation.
|
A Rust library for random number generation.
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ implementing RNGs.
|
|||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
- [API reference for latest release](https://docs.rs/rand/0.5)
|
- [API reference for latest release](https://docs.rs/rand/0.5)
|
||||||
- [API reference for master branch](https://rust-lang-nursery.github.io/rand/rand/index.html)
|
- [API reference for master branch](https://rust-random.github.io/rand/rand/index.html)
|
||||||
- [Additional documentation (subdir)](doc/README.md)
|
- [Additional documentation (subdir)](doc/README.md)
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ documentation.
|
|||||||
|
|
||||||
The following example programs may be of interest:
|
The following example programs may be of interest:
|
||||||
|
|
||||||
- [examples/monte-carlo.rs](https://github.com/rust-lang-nursery/rand/blob/master/examples/monte-carlo.rs)
|
- [examples/monte-carlo.rs](https://github.com/rust-random/rand/blob/master/examples/monte-carlo.rs)
|
||||||
- [examples/monty-hall.rs](https://github.com/rust-lang-nursery/rand/blob/master/examples/monty-hall.rs)
|
- [examples/monty-hall.rs](https://github.com/rust-random/rand/blob/master/examples/monty-hall.rs)
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ API documentation can be found:
|
|||||||
|
|
||||||
- [`rand` API on docs.rs](https://docs.rs/rand/)
|
- [`rand` API on docs.rs](https://docs.rs/rand/)
|
||||||
- [`rand_core` API on docs.rs](https://docs.rs/rand_core/)
|
- [`rand_core` API on docs.rs](https://docs.rs/rand_core/)
|
||||||
- [self-published API on github.io](https://rust-lang-nursery.github.io/rand/rand/index.html) (latest code in master branch)
|
- [self-published API on github.io](https://rust-random.github.io/rand/rand/index.html) (latest code in master branch)
|
||||||
- by running `cargo doc --no-deps --all --all-features`
|
- by running `cargo doc --no-deps --all --all-features`
|
||||||
|
|
||||||
## Project policies
|
## Project policies
|
||||||
|
@ -4,7 +4,7 @@ version = "0.2.1" # NB: When modifying, also modify html_root_url in lib.rs
|
|||||||
authors = ["The Rust Project Developers"]
|
authors = ["The Rust Project Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rust-lang-nursery/rand"
|
repository = "https://github.com/rust-random/rand"
|
||||||
documentation = "https://docs.rs/rand_core"
|
documentation = "https://docs.rs/rand_core"
|
||||||
homepage = "https://crates.io/crates/rand_core"
|
homepage = "https://crates.io/crates/rand_core"
|
||||||
description = """
|
description = """
|
||||||
@ -14,8 +14,8 @@ keywords = ["random", "rng"]
|
|||||||
categories = ["algorithms", "no-std"]
|
categories = ["algorithms", "no-std"]
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
travis-ci = { repository = "rust-lang-nursery/rand" }
|
travis-ci = { repository = "rust-random/rand" }
|
||||||
appveyor = { repository = "alexcrichton/rand" }
|
appveyor = { repository = "dhardy/rand" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# rand_core
|
# rand_core
|
||||||
|
|
||||||
[](https://travis-ci.org/rust-lang-nursery/rand)
|
[](https://travis-ci.org/rust-random/rand)
|
||||||
[](https://ci.appveyor.com/project/alexcrichton/rand)
|
[](https://ci.appveyor.com/project/dhardy/rand)
|
||||||
[](https://crates.io/crates/rand_core)
|
[](https://crates.io/crates/rand_core)
|
||||||
[](https://docs.rs/rand_core)
|
[](https://docs.rs/rand_core)
|
||||||
[](https://github.com/rust-lang-nursery/rand#rust-version-requirements)
|
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||||
[](https://github.com/rust-lang-nursery/rand/tree/master/rand_core#license)
|
[](https://github.com/rust-random/rand/tree/master/rand_core#license)
|
||||||
|
|
||||||
Core traits and error types of the [rand] library, plus tools for implementing
|
Core traits and error types of the [rand] library, plus tools for implementing
|
||||||
RNGs.
|
RNGs.
|
||||||
@ -21,7 +21,7 @@ point, list permutations and secure initialisation of RNGs). Most users should
|
|||||||
prefer to use the main [rand] crate.
|
prefer to use the main [rand] crate.
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
[master branch](https://rust-lang-nursery.github.io/rand/rand_core/index.html),
|
[master branch](https://rust-random.github.io/rand/rand_core/index.html),
|
||||||
[by release](https://docs.rs/rand_core)
|
[by release](https://docs.rs/rand_core)
|
||||||
|
|
||||||
[Changelog](CHANGELOG.md)
|
[Changelog](CHANGELOG.md)
|
||||||
|
@ -4,7 +4,7 @@ version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
|||||||
authors = ["The Rust Project Developers"]
|
authors = ["The Rust Project Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rust-lang-nursery/rand"
|
repository = "https://github.com/rust-random/rand"
|
||||||
documentation = "https://docs.rs/rand_isaac"
|
documentation = "https://docs.rs/rand_isaac"
|
||||||
homepage = "https://crates.io/crates/rand_isaac"
|
homepage = "https://crates.io/crates/rand_isaac"
|
||||||
description = """
|
description = """
|
||||||
@ -14,8 +14,8 @@ keywords = ["random", "rng", "isaac"]
|
|||||||
categories = ["algorithms", "no-std"]
|
categories = ["algorithms", "no-std"]
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
travis-ci = { repository = "rust-lang-nursery/rand" }
|
travis-ci = { repository = "rust-random/rand" }
|
||||||
appveyor = { repository = "alexcrichton/rand" }
|
appveyor = { repository = "dhardy/rand" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde1 = ["serde", "serde_derive", "rand_core/serde1"]
|
serde1 = ["serde", "serde_derive", "rand_core/serde1"]
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# rand_isaac
|
# rand_isaac
|
||||||
|
|
||||||
[](https://travis-ci.org/rust-lang-nursery/rand)
|
[](https://travis-ci.org/rust-random/rand)
|
||||||
[](https://ci.appveyor.com/project/alexcrichton/rand)
|
[](https://ci.appveyor.com/project/dhardy/rand)
|
||||||
[](https://crates.io/crates/rand_isaac)
|
[](https://crates.io/crates/rand_isaac)
|
||||||
[](https://docs.rs/rand_isaac)
|
[](https://docs.rs/rand_isaac)
|
||||||
[](https://github.com/rust-lang-nursery/rand#rust-version-requirements)
|
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||||
[](https://github.com/rust-lang-nursery/rand/tree/master/rand_isaac#license)
|
[](https://github.com/rust-random/rand/tree/master/rand_isaac#license)
|
||||||
|
|
||||||
Implements the ISAAC and ISAAC-64 random number generators.
|
Implements the ISAAC and ISAAC-64 random number generators.
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ ISAAC is notably fast and produces excellent quality random numbers for
|
|||||||
non-cryptographic applications.
|
non-cryptographic applications.
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
[master branch](https://rust-lang-nursery.github.io/rand/rand_isaac/index.html),
|
[master branch](https://rust-random.github.io/rand/rand_isaac/index.html),
|
||||||
[by release](https://docs.rs/rand_isaac)
|
[by release](https://docs.rs/rand_isaac)
|
||||||
|
|
||||||
[Changelog](CHANGELOG.md)
|
[Changelog](CHANGELOG.md)
|
||||||
|
@ -4,7 +4,7 @@ version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
|||||||
authors = ["The Rust Project Developers"]
|
authors = ["The Rust Project Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/rust-lang-nursery/rand"
|
repository = "https://github.com/rust-random/rand"
|
||||||
documentation = "https://docs.rs/rand_isaac"
|
documentation = "https://docs.rs/rand_isaac"
|
||||||
homepage = "https://crates.io/crates/rand_isaac"
|
homepage = "https://crates.io/crates/rand_isaac"
|
||||||
description = """
|
description = """
|
||||||
@ -14,8 +14,8 @@ keywords = ["random", "rng", "xorshift"]
|
|||||||
categories = ["algorithms", "no-std"]
|
categories = ["algorithms", "no-std"]
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
travis-ci = { repository = "rust-lang-nursery/rand" }
|
travis-ci = { repository = "rust-random/rand" }
|
||||||
appveyor = { repository = "alexcrichton/rand" }
|
appveyor = { repository = "dhardy/rand" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde1 = ["serde", "serde_derive"]
|
serde1 = ["serde", "serde_derive"]
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# rand_xorshift
|
# rand_xorshift
|
||||||
|
|
||||||
[](https://travis-ci.org/rust-lang-nursery/rand)
|
[](https://travis-ci.org/rust-random/rand)
|
||||||
[](https://ci.appveyor.com/project/alexcrichton/rand)
|
[](https://ci.appveyor.com/project/dhardy/rand)
|
||||||
[](https://crates.io/crates/rand_xorshift)
|
[](https://crates.io/crates/rand_xorshift)
|
||||||
[](https://docs.rs/rand_xorshift)
|
[](https://docs.rs/rand_xorshift)
|
||||||
[](https://github.com/rust-lang-nursery/rand#rust-version-requirements)
|
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||||
[](https://github.com/rust-lang-nursery/rand/tree/master/rand_xorshift#license)
|
[](https://github.com/rust-random/rand/tree/master/rand_xorshift#license)
|
||||||
|
|
||||||
Implements the Xorshift random number generator.
|
Implements the Xorshift random number generator.
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ requirements, use a more secure one such as `StdRng` or `OsRng`.
|
|||||||
*Journal of Statistical Software*. Vol. 8 (Issue 14).
|
*Journal of Statistical Software*. Vol. 8 (Issue 14).
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
[master branch](https://rust-lang-nursery.github.io/rand/rand_xorshift/index.html),
|
[master branch](https://rust-random.github.io/rand/rand_xorshift/index.html),
|
||||||
[by release](https://docs.rs/rand_isaac)
|
[by release](https://docs.rs/rand_isaac)
|
||||||
|
|
||||||
[Changelog](CHANGELOG.md)
|
[Changelog](CHANGELOG.md)
|
||||||
|
@ -177,9 +177,9 @@
|
|||||||
//! For some inspiration, see the examples:
|
//! For some inspiration, see the examples:
|
||||||
//!
|
//!
|
||||||
//! - [Monte Carlo estimation of π](
|
//! - [Monte Carlo estimation of π](
|
||||||
//! https://github.com/rust-lang-nursery/rand/blob/master/examples/monte-carlo.rs)
|
//! https://github.com/rust-random/rand/blob/master/examples/monte-carlo.rs)
|
||||||
//! - [Monty Hall Problem](
|
//! - [Monty Hall Problem](
|
||||||
//! https://github.com/rust-lang-nursery/rand/blob/master/examples/monty-hall.rs)
|
//! https://github.com/rust-random/rand/blob/master/examples/monty-hall.rs)
|
||||||
//!
|
//!
|
||||||
//!
|
//!
|
||||||
//! [`distributions` module]: distributions/index.html
|
//! [`distributions` module]: distributions/index.html
|
||||||
|
@ -195,7 +195,7 @@ pub fn sample<R>(rng: &mut R, length: usize, amount: usize) -> IndexVec
|
|||||||
let length = length as u32;
|
let length = length as u32;
|
||||||
|
|
||||||
// Choice of algorithm here depends on both length and amount. See:
|
// Choice of algorithm here depends on both length and amount. See:
|
||||||
// https://github.com/rust-lang-nursery/rand/pull/479
|
// https://github.com/rust-random/rand/pull/479
|
||||||
// We do some calculations with f32. Accuracy is not very important.
|
// We do some calculations with f32. Accuracy is not very important.
|
||||||
|
|
||||||
if amount < 163 {
|
if amount < 163 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user