Skip to content

Commit cdf9a16

Browse files
authored
Merge pull request #816 from vks/rand_distr-0.2
rand_distr: Prepare 0.1 and 0.2 release
2 parents cb10a2c + 2fe7506 commit cdf9a16

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ rand_hc = { path = "rand_hc", version = "0.1" }
8585
rand_xoshiro = { path = "rand_xoshiro", version = "0.2" }
8686
rand_isaac = { path = "rand_isaac", version = "0.1" }
8787
rand_xorshift = { path = "rand_xorshift", version = "0.1" }
88-
rand_distr = { path = "rand_distr", version = "0.1" }
88+
rand_distr = { path = "rand_distr", version = "0.2" }
8989

9090
[build-dependencies]
9191
autocfg = "0.1"

rand_distr/CHANGELOG.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,14 @@ All notable changes to this project will be documented in this file.
44
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

7-
## [0.1.0] - ??
8-
Initial release.
7+
## [0.2.0] - 2019-06-06
8+
- Remove `new` constructors for zero-sized types
9+
- Add Pert distribution
10+
- Fix undefined behavior in `Poisson`
11+
- Make all distributions return `Result`s instead of panicking
12+
- Implement `f32` support for most distributions
13+
- Rename `UnitSphereSurface` to `UnitSphere`
14+
- Implement `UnitBall` and `UnitDisc`
15+
16+
## [0.1.0] - 2019-06-06
17+
Initial release. This is equivalent to the code in `rand` 0.6.5.

rand_distr/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_distr"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["The Rand Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -21,7 +21,6 @@ appveyor = { repository = "rust-random/rand" }
2121
[dependencies]
2222
rand = { path = "..", version = ">=0.5, <=0.7" }
2323

24-
2524
[dev-dependencies]
2625
rand_pcg = { version = "0.1", path = "../rand_pcg" }
2726
# Histogram implementation for testing uniformity

0 commit comments

Comments
 (0)