From f7497f77a4f0e77bd4891f5b4ca43a96e11e5fdd Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Mon, 13 Aug 2018 18:00:37 +0100 Subject: [PATCH] Update paths due to relocation Repo moved from rust-lang-nursery to rust-random AppVeyor CI is now managed by dhardy --- Cargo.toml | 6 +++--- README.md | 10 +++++----- doc/README.md | 6 +++--- rand_core/Cargo.toml | 6 +++--- rand_core/README.md | 10 +++++----- rand_isaac/Cargo.toml | 6 +++--- rand_isaac/README.md | 10 +++++----- rand_xorshift/Cargo.toml | 6 +++--- rand_xorshift/README.md | 10 +++++----- src/lib.rs | 4 ++-- src/seq/index.rs | 2 +- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b3e58637a68..72bd76fadc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.5.5" # NB: When modifying, also modify html_root_url in lib.rs authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" -repository = "https://github.com/rust-lang-nursery/rand" +repository = "https://github.com/rust-random/rand" documentation = "https://docs.rs/rand" homepage = "https://crates.io/crates/rand" description = """ @@ -15,8 +15,8 @@ categories = ["algorithms", "no-std"] build = "build.rs" [badges] -travis-ci = { repository = "rust-lang-nursery/rand" } -appveyor = { repository = "alexcrichton/rand" } +travis-ci = { repository = "rust-random/rand" } +appveyor = { repository = "dhardy/rand" } [features] default = ["std" ] # without "std" rand uses libcore diff --git a/README.md b/README.md index f6f590766c9..06e934599b6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Rand -[![Build Status](https://travis-ci.org/rust-lang-nursery/rand.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/rand) -[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rand?svg=true)](https://ci.appveyor.com/project/alexcrichton/rand) +[![Build Status](https://travis-ci.org/rust-random/rand.svg?branch=master)](https://travis-ci.org/rust-random/rand) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-random/rand?svg=true)](https://ci.appveyor.com/project/dhardy/rand) [![Latest version](https://img.shields.io/crates/v/rand.svg)](https://crates.io/crates/rand) [![Documentation](https://docs.rs/rand/badge.svg)](https://docs.rs/rand) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-lang-nursery/rand#rust-version-requirements) -[![License](https://img.shields.io/crates/l/rand.svg)](https://github.com/rust-lang-nursery/rand#license) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-random/rand#rust-version-requirements) +[![License](https://img.shields.io/crates/l/rand.svg)](https://github.com/rust-random/rand#license) A Rust library for random number generation. @@ -18,7 +18,7 @@ implementing RNGs. Documentation: - [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) diff --git a/doc/README.md b/doc/README.md index a2f8b624156..2417335acfe 100644 --- a/doc/README.md +++ b/doc/README.md @@ -9,8 +9,8 @@ documentation. 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/monty-hall.rs](https://github.com/rust-lang-nursery/rand/blob/master/examples/monty-hall.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-random/rand/blob/master/examples/monty-hall.rs) ## References @@ -18,7 +18,7 @@ API documentation can be found: - [`rand` API on docs.rs](https://docs.rs/rand/) - [`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` ## Project policies diff --git a/rand_core/Cargo.toml b/rand_core/Cargo.toml index a6acfc3fe23..e608109ee22 100644 --- a/rand_core/Cargo.toml +++ b/rand_core/Cargo.toml @@ -4,7 +4,7 @@ version = "0.2.1" # NB: When modifying, also modify html_root_url in lib.rs authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" -repository = "https://github.com/rust-lang-nursery/rand" +repository = "https://github.com/rust-random/rand" documentation = "https://docs.rs/rand_core" homepage = "https://crates.io/crates/rand_core" description = """ @@ -14,8 +14,8 @@ keywords = ["random", "rng"] categories = ["algorithms", "no-std"] [badges] -travis-ci = { repository = "rust-lang-nursery/rand" } -appveyor = { repository = "alexcrichton/rand" } +travis-ci = { repository = "rust-random/rand" } +appveyor = { repository = "dhardy/rand" } [features] default = ["std"] diff --git a/rand_core/README.md b/rand_core/README.md index 692cd04fdf7..5e761d0efe2 100644 --- a/rand_core/README.md +++ b/rand_core/README.md @@ -1,11 +1,11 @@ # rand_core -[![Build Status](https://travis-ci.org/rust-lang-nursery/rand.svg)](https://travis-ci.org/rust-lang-nursery/rand) -[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rand?svg=true)](https://ci.appveyor.com/project/alexcrichton/rand) +[![Build Status](https://travis-ci.org/rust-random/rand.svg)](https://travis-ci.org/rust-random/rand) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-random/rand?svg=true)](https://ci.appveyor.com/project/dhardy/rand) [![Latest version](https://img.shields.io/crates/v/rand_core.svg)](https://crates.io/crates/rand_core) [![Documentation](https://docs.rs/rand_core/badge.svg)](https://docs.rs/rand_core) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-lang-nursery/rand#rust-version-requirements) -[![License](https://img.shields.io/crates/l/rand_core.svg)](https://github.com/rust-lang-nursery/rand/tree/master/rand_core#license) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-random/rand#rust-version-requirements) +[![License](https://img.shields.io/crates/l/rand_core.svg)](https://github.com/rust-random/rand/tree/master/rand_core#license) Core traits and error types of the [rand] library, plus tools for implementing RNGs. @@ -21,7 +21,7 @@ point, list permutations and secure initialisation of RNGs). Most users should prefer to use the main [rand] crate. 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) [Changelog](CHANGELOG.md) diff --git a/rand_isaac/Cargo.toml b/rand_isaac/Cargo.toml index 706cb2d3f54..a54c1af7fc6 100644 --- a/rand_isaac/Cargo.toml +++ b/rand_isaac/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" -repository = "https://github.com/rust-lang-nursery/rand" +repository = "https://github.com/rust-random/rand" documentation = "https://docs.rs/rand_isaac" homepage = "https://crates.io/crates/rand_isaac" description = """ @@ -14,8 +14,8 @@ keywords = ["random", "rng", "isaac"] categories = ["algorithms", "no-std"] [badges] -travis-ci = { repository = "rust-lang-nursery/rand" } -appveyor = { repository = "alexcrichton/rand" } +travis-ci = { repository = "rust-random/rand" } +appveyor = { repository = "dhardy/rand" } [features] serde1 = ["serde", "serde_derive", "rand_core/serde1"] diff --git a/rand_isaac/README.md b/rand_isaac/README.md index 202bafe57d2..52d75aef4e3 100644 --- a/rand_isaac/README.md +++ b/rand_isaac/README.md @@ -1,11 +1,11 @@ # rand_isaac -[![Build Status](https://travis-ci.org/rust-lang-nursery/rand.svg)](https://travis-ci.org/rust-lang-nursery/rand) -[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rand?svg=true)](https://ci.appveyor.com/project/alexcrichton/rand) +[![Build Status](https://travis-ci.org/rust-random/rand.svg)](https://travis-ci.org/rust-random/rand) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-random/rand?svg=true)](https://ci.appveyor.com/project/dhardy/rand) [![Latest version](https://img.shields.io/crates/v/rand_isaac.svg)](https://crates.io/crates/rand_isaac) [![Documentation](https://docs.rs/rand_isaac/badge.svg)](https://docs.rs/rand_isaac) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-lang-nursery/rand#rust-version-requirements) -[![License](https://img.shields.io/crates/l/rand_isaac.svg)](https://github.com/rust-lang-nursery/rand/tree/master/rand_isaac#license) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-random/rand#rust-version-requirements) +[![License](https://img.shields.io/crates/l/rand_isaac.svg)](https://github.com/rust-random/rand/tree/master/rand_isaac#license) 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. 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) [Changelog](CHANGELOG.md) diff --git a/rand_xorshift/Cargo.toml b/rand_xorshift/Cargo.toml index dfef645c764..6d0a4f22c8d 100644 --- a/rand_xorshift/Cargo.toml +++ b/rand_xorshift/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" -repository = "https://github.com/rust-lang-nursery/rand" +repository = "https://github.com/rust-random/rand" documentation = "https://docs.rs/rand_isaac" homepage = "https://crates.io/crates/rand_isaac" description = """ @@ -14,8 +14,8 @@ keywords = ["random", "rng", "xorshift"] categories = ["algorithms", "no-std"] [badges] -travis-ci = { repository = "rust-lang-nursery/rand" } -appveyor = { repository = "alexcrichton/rand" } +travis-ci = { repository = "rust-random/rand" } +appveyor = { repository = "dhardy/rand" } [features] serde1 = ["serde", "serde_derive"] diff --git a/rand_xorshift/README.md b/rand_xorshift/README.md index 00770c5c252..5d990431c73 100644 --- a/rand_xorshift/README.md +++ b/rand_xorshift/README.md @@ -1,11 +1,11 @@ # rand_xorshift -[![Build Status](https://travis-ci.org/rust-lang-nursery/rand.svg)](https://travis-ci.org/rust-lang-nursery/rand) -[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rand?svg=true)](https://ci.appveyor.com/project/alexcrichton/rand) +[![Build Status](https://travis-ci.org/rust-random/rand.svg)](https://travis-ci.org/rust-random/rand) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-random/rand?svg=true)](https://ci.appveyor.com/project/dhardy/rand) [![Latest version](https://img.shields.io/crates/v/rand_xorshift.svg)](https://crates.io/crates/rand_xorshift) [![Documentation](https://docs.rs/rand_xorshift/badge.svg)](https://docs.rs/rand_xorshift) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-lang-nursery/rand#rust-version-requirements) -[![License](https://img.shields.io/crates/l/rand_xorshift.svg)](https://github.com/rust-lang-nursery/rand/tree/master/rand_xorshift#license) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-random/rand#rust-version-requirements) +[![License](https://img.shields.io/crates/l/rand_xorshift.svg)](https://github.com/rust-random/rand/tree/master/rand_xorshift#license) 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). 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) [Changelog](CHANGELOG.md) diff --git a/src/lib.rs b/src/lib.rs index 9fe10926466..a6fcb47ab68 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -177,9 +177,9 @@ //! For some inspiration, see the examples: //! //! - [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]( -//! 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 diff --git a/src/seq/index.rs b/src/seq/index.rs index 805b7f3c2f3..02a3d944985 100644 --- a/src/seq/index.rs +++ b/src/seq/index.rs @@ -195,7 +195,7 @@ pub fn sample(rng: &mut R, length: usize, amount: usize) -> IndexVec let length = length as u32; // 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. if amount < 163 {