From 2fa2bfed9e28600720f61e58e89bb4da6517c39f Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sun, 17 Dec 2017 19:06:15 +0000 Subject: [PATCH] Bump version to 0.4.1; update CHANGELOG and README --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 18 +++++++++++------- rand-derive/Cargo.toml | 2 +- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8a2ce3cbfa..f39d29c2d4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.4.1] - 2017-12-17 +### Added +- `no_std` support + ## [0.4.0-pre.0] - 2017-12-11 ### Added - `JitterRng` added as a high-quality alternative entropy source using the diff --git a/Cargo.toml b/Cargo.toml index b808deae94a..bc843c6b8c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand" -version = "0.4.0-pre.0" +version = "0.4.1" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" diff --git a/README.md b/README.md index a36c3cd13b1..994467ae224 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -rand = "0.3" +rand = "0.4" ``` and this to your crate root: @@ -23,12 +23,16 @@ and this to your crate root: extern crate rand; ``` -### Unstable channel +### Versions -The 'master' branch tracks development code while the '0.3' branch tracks the -latest stable release. New features are currently being released in an "unstable -channel"; if you wish to opt-in to the latest releases (expect more breaking -changes in this channel) specify `rand = "0.4.0-pre.0"`. +The `rand` crate has been at version `0.3` since March 2015. If you wish to +avoid all breaking changes you may wish to stick with this version. + +Version `0.4`was released in December 2017. It contains almost no breaking +changes since the `0.3` series, but nevertheless (will) contain a significant +amount of new code, including a new "external" entropy source (`JitterRng`), +`no_std` support, and significant performance improvements for the ISAAC random +number generators. ## Examples @@ -105,7 +109,7 @@ You can derive the `Rand` trait for your custom type via the `#[derive(Rand)]` directive. To use this first add this to your Cargo.toml: ```toml -rand = "0.3" +rand = "0.4" rand_derive = "0.3" ``` diff --git a/rand-derive/Cargo.toml b/rand-derive/Cargo.toml index 224b1ed91d2..1a2dbe1080b 100644 --- a/rand-derive/Cargo.toml +++ b/rand-derive/Cargo.toml @@ -20,4 +20,4 @@ quote = "0.3" syn = "0.11" [dev-dependencies] -rand = { path = "..", version = "0.4.0-pre.0" } +rand = { path = "..", version = "0.4" }