Skip to content

Commit 317651c

Browse files
authored
Merge pull request #614 from dhardy/0.5
[0.5 branch] Prepare rand_core 0.3 release
2 parents 24fbd1f + 7dd05ed commit 317651c

File tree

10 files changed

+34
-26
lines changed

10 files changed

+34
-26
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ serde1 = ["serde", "serde_derive", "rand_core/serde1"] # enables serialization f
2929
members = ["rand_core"]
3030

3131
[dependencies]
32-
rand_core = { path = "rand_core", version = "0.2", default-features = false }
32+
rand_core = { path = "rand_core", version = "0.3", default-features = false }
3333
log = { version = "0.4", optional = true }
3434
serde = { version = "1", optional = true }
3535
serde_derive = { version = "1", optional = true }

rand_core/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.3.0] - 2018-09-24
8+
- Add `SeedableRng::seed_from_u64` for convenient seeding. (#537)
9+
710
## [0.2.1] - 2018-06-08
811
- References to a `CryptoRng` now also implement `CryptoRng`. (#470)
912

rand_core/COPYRIGHT

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyrights in the Rand project are retained by their contributors. No
2+
copyright assignment is required to contribute to the Rand project.
3+
4+
For full authorship information, see the version control history.
5+
6+
Except as otherwise noted (below and/or in individual files), Rand is
7+
licensed under the Apache License, Version 2.0 <LICENSE-APACHE> or
8+
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9+
<LICENSE-MIT> or <http://opensource.org/licenses/MIT>, at your option.
10+
11+
The Rand project includes code from the Rust project
12+
published under these same licenses.

rand_core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "rand_core"
3-
version = "0.2.1" # NB: When modifying, also modify html_root_url in lib.rs
3+
version = "0.3.0" # NB: When modifying, also modify html_root_url in lib.rs
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
7-
repository = "https://github.com/rust-lang-nursery/rand"
7+
repository = "https://github.com/rust-random/rand"
88
documentation = "https://docs.rs/rand_core"
99
homepage = "https://crates.io/crates/rand_core"
1010
description = """
@@ -14,8 +14,8 @@ keywords = ["random", "rng"]
1414
categories = ["algorithms", "no-std"]
1515

1616
[badges]
17-
travis-ci = { repository = "rust-lang-nursery/rand" }
18-
appveyor = { repository = "alexcrichton/rand" }
17+
travis-ci = { repository = "rust-random/rand" }
18+
appveyor = { repository = "dhardy/rand" }
1919

2020
[features]
2121
default = ["std"]

rand_core/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# rand_core
22

3-
[![Build Status](https://travis-ci.org/rust-lang-nursery/rand.svg)](https://travis-ci.org/rust-lang-nursery/rand)
4-
[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang-nursery/rand?svg=true)](https://ci.appveyor.com/project/alexcrichton/rand)
3+
[![Build Status](https://travis-ci.org/rust-random/rand.svg)](https://travis-ci.org/rust-random/rand)
4+
[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-random/rand?svg=true)](https://ci.appveyor.com/project/dhardy/rand)
55
[![Latest version](https://img.shields.io/crates/v/rand_core.svg)](https://crates.io/crates/rand_core)
66
[![Documentation](https://docs.rs/rand_core/badge.svg)](https://docs.rs/rand_core)
7-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-lang-nursery/rand#rust-version-requirements)
7+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.22+-yellow.svg)](https://github.com/rust-random/rand#rust-version-requirements)
8+
[![License](https://img.shields.io/crates/l/rand_core.svg)](https://github.com/rust-random/rand/tree/master/rand_core#license)
89

910
Core traits and error types of the [rand] library, plus tools for implementing
1011
RNGs.
@@ -20,7 +21,7 @@ point, list permutations and secure initialisation of RNGs). Most users should
2021
prefer to use the main [rand] crate.
2122

2223
Documentation:
23-
[master branch](https://rust-lang-nursery.github.io/rand/rand_core/index.html),
24+
[master branch](https://rust-random.github.io/rand/rand_core/index.html),
2425
[by release](https://docs.rs/rand_core)
2526

2627
[Changelog](CHANGELOG.md)
@@ -59,4 +60,5 @@ implementations that use the `BlockRng` or `BlockRng64` wrappers.
5960
`rand_core` is distributed under the terms of both the MIT license and the
6061
Apache License (Version 2.0).
6162

62-
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.
63+
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT), and
64+
[COPYRIGHT](COPYRIGHT) for details.

rand_core/src/block.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// https://rust-lang.org/COPYRIGHT.
1+
// Copyright 2018 Developers of the Rand project.
42
//
53
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
64
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license

rand_core/src/error.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2017-2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// https://rust-lang.org/COPYRIGHT.
1+
// Copyright 2018 Developers of the Rand project.
42
//
53
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
64
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license

rand_core/src/impls.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2013-2017 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// https://rust-lang.org/COPYRIGHT.
1+
// Copyright 2018 Developers of the Rand project.
42
//
53
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
64
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license

rand_core/src/le.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// Copyright 2017-2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// https://rust-lang.org/COPYRIGHT.
1+
// Copyright 2018 Developers of the Rand project.
42
//
53
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
64
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license

rand_core/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Copyright 2017-2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// https://rust-lang.org/COPYRIGHT.
1+
// Copyright 2018 Developers of the Rand project.
2+
// Copyright 2017-2018 The Rust Project Developers.
43
//
54
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
65
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
@@ -35,7 +34,7 @@
3534
3635
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
3736
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
38-
html_root_url = "https://docs.rs/rand_core/0.2.1")]
37+
html_root_url = "https://docs.rs/rand_core/0.3.0")]
3938

4039
#![deny(missing_docs)]
4140
#![deny(missing_debug_implementations)]

0 commit comments

Comments
 (0)