Skip to content

Commit d436684

Browse files
committed
Bump rand_core version to 0.1.0; update CHANGELOG and README
1 parent 7e11084 commit d436684

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ You may also find the [Update Guide](UPDATING.md) useful.
3737
- Add `Error` and `ErrorKind`. (#225)
3838
- Add `CryptoRng` marker trait. (#273)
3939
- Add `BlockRngCore` trait. (#281)
40-
- Add `BlockRng` wrapper to help implementations. (#281)
40+
- Add `BlockRng` and `BlockRng64` wrappers to help implementations. (#281, #325)
4141
- Revise the `SeedableRng` trait. (#233)
4242
- Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
4343
- Add `RngCore::try_fill_bytes`. (#225)
44+
- Add `RngCore::bytes_per_round` optimization hint. (#396)
4445

4546
### Other traits and types
4647
- Add `NewRng` trait. (#233)

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", default-features = false }
32+
rand_core = { path = "rand_core", version = "0.1", 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ 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

77

8-
## [0.1.0] - Unreleased
8+
## [0.1.0] - 2018-04-15
99
(Split out of the Rand crate, changes here are relative to rand 0.4.2)
1010
- `RngCore` and `SeedableRng` are now part of `rand_core`. (#288)
1111
- Add modules to help implementing RNGs `impl` and `le`. (#209, #228)
1212
- Add `Error` and `ErrorKind`. (#225)
1313
- Add `CryptoRng` marker trait. (#273)
1414
- Add `BlockRngCore` trait. (#281)
15-
- Add `BlockRng` wrapper to help implemtations. (#281)
15+
- Add `BlockRng` and `BlockRng64` wrappers to help implementations. (#281, #325)
1616
- Revise the `SeedableRng` trait. (#233)
1717
- Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
1818
- Add `RngCore::try_fill_bytes`. (#225)
19+
- Add `RngCore::bytes_per_round` optimization hint. (#396)
1920

2021
## [0.0.1] - 2017-09-14 (yanked)
2122
Experimental version as part of the rand crate refactor.

rand_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_core"
3-
version = "0.1.0-pre.0" # NB: When modifying, also modify html_root_url in lib.rs
3+
version = "0.1.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"

rand_core/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Due to [rust-lang/cargo#1596](https://github.com/rust-lang/cargo/issues/1596),
5050
unioned across the whole dependency tree, any crate using `rand` with its
5151
default features will also enable `std` support in `rand_core`.
5252

53+
The `serde1` feature can be used to derive `Serialize` and `Deserialize` for RNG
54+
implementations that use the `BockRng` or `BlockRng64` wrappers.
55+
5356

5457
# License
5558

rand_core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
3737
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
38-
html_root_url = "https://docs.rs/rand_core/0.1")]
38+
html_root_url = "https://docs.rs/rand_core/0.1.0")]
3939

4040
#![deny(missing_debug_implementations)]
4141

0 commit comments

Comments
 (0)