Skip to content

Commit a249eed

Browse files
committed
Update rand_core CHANGELOG and README
1 parent 95ea68c commit a249eed

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
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.0-pre.0", 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
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/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-pre.0")]
3939

4040
#![deny(missing_debug_implementations)]
4141

0 commit comments

Comments
 (0)