Skip to content

Commit

Permalink
Merge pull request #742 from dhardy/pcg
Browse files Browse the repository at this point in the history
rand_pcg: prepare 0.1.2 release with i128 auto-detection
  • Loading branch information
dhardy committed Feb 23, 2019
2 parents 57f7bc5 + a987d05 commit b9211b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
6 changes: 3 additions & 3 deletions rand_pcg/CHANGELOG.md
Expand Up @@ -4,9 +4,9 @@ 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](https://semver.org/spec/v2.0.0.html).

## [0.1.2] - unreleased
- potential blocker: https://github.com/TyOverby/bincode/issues/250
- make `bincode` a dev-dependency again
## [0.1.2] - 2019-02-23
- require `bincode` 1.1.2 for i128 auto-detection
- make `bincode` a dev-dependency again #663
- clean up tests and Serde support

## [0.1.1] - 2018-10-04
Expand Down
7 changes: 3 additions & 4 deletions rand_pcg/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rand_pcg"
version = "0.1.1"
version = "0.1.2"
authors = ["The Rand Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -29,9 +29,8 @@ serde_derive = { version = "^1.0.38", optional = true }
[dev-dependencies]
# This is for testing serde, unfortunately we can't specify feature-gated dev
# deps yet, see: https://github.com/rust-lang/cargo/issues/1596
# TODO: we shouldn't have to depend on i128 directly; it breaks tests on old
# compilers. `bincode` should automatically support this.
bincode = { version = "1", features = ["i128"] }
# We require at least 1.1.2 for i128 auto-detection
bincode = { version = "1.1.2" }

[build-dependencies]
autocfg = "0.1"
12 changes: 2 additions & 10 deletions rand_pcg/README.md
Expand Up @@ -29,18 +29,10 @@ Links:

## Crate Features

`rand_pcg` is `no_std` compatible. It does not require any functionality
outside of the `core` lib, thus there are no features to configure.
`rand_pcg` is `no_std` compatible by default.

The `serde1` feature includes implementations of `Serialize` and `Deserialize`
for the included RNGs. NOTE: to use binary serialisation with any of the 64-bit
output (128-bit internal) RNGs, you must add the following dependency, since the
`i128` feature is not current enabled by default (this should be fixed soon):

```
bincode = { version = "1", features = ["i128"] }
```

for the included RNGs.

## License

Expand Down

0 comments on commit b9211b1

Please sign in to comment.