Switch documentation links primarily to rust-random.github.io; revise shields
This commit is contained in:
parent
a28fc75c89
commit
fdd78bc2e2
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand"
|
||||
version = "0.6.1" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.6.1"
|
||||
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rust-random/rand"
|
||||
documentation = "https://docs.rs/rand"
|
||||
documentation = "https://rust-random.github.io/rand"
|
||||
homepage = "https://crates.io/crates/rand"
|
||||
description = """
|
||||
Random number generators and other randomness functionality.
|
||||
|
17
README.md
17
README.md
@ -2,10 +2,11 @@
|
||||
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand)
|
||||
[](https://docs.rs/rand)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand#license)
|
||||
[](https://crates.io/crates/rand)
|
||||
[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand)
|
||||
[](https://docs.rs/rand)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
A Rust library for random number generation.
|
||||
|
||||
@ -18,9 +19,9 @@ implementations should prefer to use `rand_core` while most other users should
|
||||
depend on `rand`.
|
||||
|
||||
Documentation:
|
||||
- [The Rust Rand Book](https://rust-random.github.io/book/)
|
||||
- [API reference for the latest release](https://docs.rs/rand/)
|
||||
- [API reference for the master branch](https://rust-random.github.io/rand/)
|
||||
- [The Rust Rand Book](https://rust-random.github.io/book)
|
||||
- [API reference (master)](https://rust-random.github.io/rand)
|
||||
- [API reference (docs.rs)](https://docs.rs/rand)
|
||||
|
||||
|
||||
## Usage
|
||||
@ -32,7 +33,7 @@ Add this to your `Cargo.toml`:
|
||||
rand = "0.6"
|
||||
```
|
||||
|
||||
To get started using Rand, see [The Book](https://rust-random.github.io/book/).
|
||||
To get started using Rand, see [The Book](https://rust-random.github.io/book).
|
||||
|
||||
|
||||
## Versions
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_chacha"
|
||||
version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.1.0"
|
||||
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rust-random/rand"
|
||||
documentation = "https://docs.rs/rand_chacha"
|
||||
documentation = "https://rust-random.github.io/rand/rand_chacha"
|
||||
homepage = "https://crates.io/crates/rand_chacha"
|
||||
description = """
|
||||
ChaCha random number generator
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_chacha)
|
||||
[](https://docs.rs/rand_chacha)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_chacha#license)
|
||||
[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_chacha)
|
||||
[](https://docs.rs/rand_chacha)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
A cryptographically secure random number generator that uses the ChaCha
|
||||
algorithm.
|
||||
@ -15,11 +16,11 @@ as an RNG. It is an improved variant of the Salsa20 cipher family, which was
|
||||
selected as one of the "stream ciphers suitable for widespread adoption" by
|
||||
eSTREAM[^2].
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_chacha/index.html),
|
||||
[by release](https://docs.rs/rand_chacha)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_chacha)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_chacha)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
[rand]: https://crates.io/crates/rand
|
||||
[^1]: D. J. Bernstein, [*ChaCha, a variant of Salsa20*](
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_chacha/0.1.0")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_core"
|
||||
version = "0.3.0" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.3.0"
|
||||
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rust-random/rand"
|
||||
documentation = "https://docs.rs/rand_core"
|
||||
documentation = "https://rust-random.github.io/rand/rand_core"
|
||||
homepage = "https://crates.io/crates/rand_core"
|
||||
description = """
|
||||
Core random number generator traits and tools for implementation.
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_core)
|
||||
[](https://docs.rs/rand_core)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_core#license)
|
||||
[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_core)
|
||||
[](https://docs.rs/rand_core)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
Core traits and error types of the [rand] library, plus tools for implementing
|
||||
RNGs.
|
||||
@ -20,11 +21,11 @@ applications (including sampling from restricted ranges, conversion to floating
|
||||
point, list permutations and secure initialisation of RNGs). Most users should
|
||||
prefer to use the main [rand] crate.
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_core/index.html),
|
||||
[by release](https://docs.rs/rand_core)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_core)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_core)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
[rand]: https://crates.io/crates/rand
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_core/0.3.0")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_hc"
|
||||
version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.1.0"
|
||||
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_hc"
|
||||
documentation = "https://rust-random.github.io/rand/rand_hc"
|
||||
homepage = "https://crates.io/crates/rand_hc"
|
||||
description = """
|
||||
HC128 random number generator
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_hc)
|
||||
[](https://docs.rs/rand_hc)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_hc#license)
|
||||
[[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_hc)
|
||||
[](https://docs.rs/rand_hc)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
A cryptographically secure random number generator that uses the HC-128
|
||||
algorithm.
|
||||
@ -14,11 +15,11 @@ HC-128 is a stream cipher designed by Hongjun Wu[^1], that we use as an
|
||||
RNG. It is selected as one of the "stream ciphers suitable for widespread
|
||||
adoption" by eSTREAM[^2].
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_hc/index.html),
|
||||
[by release](https://docs.rs/rand_hc)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_hc)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_hc)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
[rand]: https://crates.io/crates/rand
|
||||
[^1]: Hongjun Wu (2008). ["The Stream Cipher HC-128"](
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_hc/0.1.0")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_isaac"
|
||||
version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.1.0"
|
||||
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rust-random/rand"
|
||||
documentation = "https://docs.rs/rand_isaac"
|
||||
documentation = "https://rust-random.github.io/rand/rand_isaac"
|
||||
homepage = "https://crates.io/crates/rand_isaac"
|
||||
description = """
|
||||
ISAAC random number generator
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_isaac)
|
||||
[](https://docs.rs/rand_isaac)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_isaac#license)
|
||||
[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_isaac)
|
||||
[](https://docs.rs/rand_isaac)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
Implements the ISAAC and ISAAC-64 random number generators.
|
||||
|
||||
@ -17,14 +18,13 @@ in 1996[^1][^2].
|
||||
ISAAC is notably fast and produces excellent quality random numbers for
|
||||
non-cryptographic applications.
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_isaac/index.html),
|
||||
[by release](https://docs.rs/rand_isaac)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_isaac)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_isaac)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
[rand]: https://crates.io/crates/rand
|
||||
|
||||
[^1]: Bob Jenkins, [*ISAAC: A fast cryptographic random number generator*](http://burtleburtle.net/bob/rand/isaacafa.html)
|
||||
[^2]: Bob Jenkins, [*ISAAC and RC4*](http://burtleburtle.net/bob/rand/isaac.html)
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_isaac/0.1.0")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_pcg"
|
||||
version = "0.1.1" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.1.1"
|
||||
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"
|
||||
documentation = "https://rust-random.github.io/rand/rand_pcg"
|
||||
homepage = "https://crates.io/crates/rand_pcg"
|
||||
description = """
|
||||
Selected PCG random number generators
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_pcg)
|
||||
[](https://docs.rs/rand_pcg)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_pcg#license)
|
||||
[[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_pcg)
|
||||
[](https://docs.rs/rand_pcg)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
Implements a selection of PCG random number generators.
|
||||
|
||||
@ -19,11 +20,11 @@ See the [pcg-random website](http://www.pcg-random.org/).
|
||||
This crate depends on [rand_core](https://crates.io/crates/rand_core) and is
|
||||
part of the [Rand project](https://github.com/rust-random/rand).
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_pcg/index.html),
|
||||
[by release](https://docs.rs/rand_pcg)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_pcg)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_pcg)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
|
||||
## Crate Features
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_pcg/0.1.1")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "rand_xorshift"
|
||||
version = "0.1.0" # NB: When modifying, also modify html_root_url in lib.rs
|
||||
version = "0.1.0"
|
||||
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/rust-random/rand"
|
||||
documentation = "https://docs.rs/rand_xorshift"
|
||||
documentation = "https://rust-random.github.io/rand/rand_xorshift"
|
||||
homepage = "https://crates.io/crates/rand_xorshift"
|
||||
description = """
|
||||
Xorshift random number generator
|
||||
|
@ -3,9 +3,10 @@
|
||||
[](https://travis-ci.org/rust-random/rand)
|
||||
[](https://ci.appveyor.com/project/rust-random/rand)
|
||||
[](https://crates.io/crates/rand_xorshift)
|
||||
[](https://docs.rs/rand_xorshift)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
[](https://github.com/rust-random/rand/tree/master/rand_xorshift#license)
|
||||
[](https://rust-random.github.io/book/)
|
||||
[](https://rust-random.github.io/rand/rand_xorshift)
|
||||
[](https://docs.rs/rand_xorshift)
|
||||
[](https://github.com/rust-random/rand#rust-version-requirements)
|
||||
|
||||
Implements the Xorshift random number generator.
|
||||
|
||||
@ -17,11 +18,11 @@ requirements, use a more secure one such as `StdRng` or `OsRng`.
|
||||
["Xorshift RNGs"](https://www.jstatsoft.org/v08/i14/paper).
|
||||
*Journal of Statistical Software*. Vol. 8 (Issue 14).
|
||||
|
||||
Documentation:
|
||||
[master branch](https://rust-random.github.io/rand/rand_xorshift/index.html),
|
||||
[by release](https://docs.rs/rand_xorshift)
|
||||
Links:
|
||||
|
||||
[Changelog](CHANGELOG.md)
|
||||
- [API documentation (master)](https://rust-random.github.io/rand/rand_xorshift)
|
||||
- [API documentation (docs.rs)](https://docs.rs/rand_xorshift)
|
||||
- [Changelog](CHANGELOG.md)
|
||||
|
||||
[rand]: https://crates.io/crates/rand
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand_xorshift/0.1.0")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/rand/0.6.1")]
|
||||
html_root_url = "https://rust-random.github.io/rand/")]
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
|
@ -67,8 +67,8 @@ type Rng = ::rand_pcg::Pcg32;
|
||||
/// [`FromEntropy`]: ../trait.FromEntropy.html
|
||||
/// [`StdRng`]: struct.StdRng.html
|
||||
/// [`thread_rng`]: ../fn.thread_rng.html
|
||||
/// [`Pcg64Mcg`]: https://docs.rs/rand_pcg/0.1.0/rand_pcg/type.Pcg64Mcg.html
|
||||
/// [`Pcg32`]: https://docs.rs/rand_pcg/0.1.0/rand_pcg/type.Pcg32.html
|
||||
/// [`Pcg64Mcg`]: ../../rand_pcg/type.Pcg64Mcg.html
|
||||
/// [`Pcg32`]: ../../rand_pcg/type.Pcg32.html
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SmallRng(Rng);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user