Merge pull request #469 from pitdicker/rand_05_release

Update version numbers: rand_core 0.2.0 and rand 0.5.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad83749..1aa6398 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,7 @@
 You may also find the [Update Guide](UPDATING.md) useful.
 
 
-## [0.5.0] - Unreleased
+## [0.5.0] - 2018-05-21
 
 ### Crate features and organisation
 - Minimum Rust version update: 1.22.0. (#239)
diff --git a/Cargo.toml b/Cargo.toml
index 667daa7..6335de4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "rand"
-version = "0.5.0-pre.2" # NB: When modifying, also modify html_root_url in lib.rs
+version = "0.5.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"
@@ -29,7 +29,7 @@
 members = ["rand_core"]
 
 [dependencies]
-rand_core = { path = "rand_core", version = "0.2.0-pre.0", default-features = false }
+rand_core = { path = "rand_core", version = "0.2", default-features = false }
 log = { version = "0.4", optional = true }
 serde = { version = "1", optional = true }
 serde_derive = { version = "1", optional = true }
diff --git a/README.md b/README.md
index a418598..a6f812b 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@
 
 ```toml
 [dependencies]
-rand = "0.5.0-pre.1"
+rand = "0.5"
 ```
 
 and this to your crate root:
diff --git a/rand_core/CHANGELOG.md b/rand_core/CHANGELOG.md
index 566e290..bb54ceb 100644
--- a/rand_core/CHANGELOG.md
+++ b/rand_core/CHANGELOG.md
@@ -5,7 +5,7 @@
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 
-## [0.2.0] - Unreleased
+## [0.2.0] - 2018-05-21
 - Enable the `std` feature by default. (#409)
 - Remove `BlockRng{64}::inner` and `BlockRng::inner_mut`; instead making `core` public
 - Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. (#374, #419)
diff --git a/rand_core/Cargo.toml b/rand_core/Cargo.toml
index 6b75f40..0f07306 100644
--- a/rand_core/Cargo.toml
+++ b/rand_core/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "rand_core"
-version = "0.2.0-pre.0" # NB: When modifying, also modify html_root_url in lib.rs
+version = "0.2.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"
diff --git a/rand_core/src/lib.rs b/rand_core/src/lib.rs
index 3523550..1a533fd 100644
--- a/rand_core/src/lib.rs
+++ b/rand_core/src/lib.rs
@@ -35,7 +35,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.2")]
+       html_root_url = "https://docs.rs/rand_core/0.2.0")]
 
 #![deny(missing_docs)]
 #![deny(missing_debug_implementations)]
diff --git a/src/lib.rs b/src/lib.rs
index f780f3b..a1b15a8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -223,7 +223,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.5")]
+       html_root_url = "https://docs.rs/rand/0.5.0")]
 
 #![deny(missing_docs)]
 #![deny(missing_debug_implementations)]