Skip to content

Commit 7d9decd

Browse files
committed
Merge branch '0.4'
2 parents 3a89228 + 59a48ed commit 7d9decd

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.2] - 2018-01-05
8+
### Changed
9+
- Use winapi on Windows
10+
- Update for Fuchsia OS
11+
- Remove dev-dependency on `log`
12+
713
## [0.4.1] - 2017-12-17
814
### Added
915
- `no_std` support

Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -28,11 +28,6 @@ libc = { version = "0.2", optional = true }
2828
[target.'cfg(windows)'.dependencies]
2929
winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "profileapi", "winnt"] }
3030

31-
[dev-dependencies]
32-
# log 0.3.9 is a wrapper around 0.4.0 which doesn't work with rustc 1.15
33-
# To keep our CI pin on 1.15 we require log <= 0.3.8.
34-
log = "0.3, <=0.3.8"
35-
3631
[workspace]
3732
members = ["rand-derive"]
3833

src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@
249249

250250
#[cfg(feature="std")] extern crate std as core;
251251
#[cfg(all(feature = "alloc", not(feature="std")))] extern crate alloc;
252-
#[cfg(test)] #[macro_use] extern crate log;
253252

254253
use core::marker;
255254
use core::mem;
@@ -1084,14 +1083,6 @@ mod test {
10841083
r.gen_range(5, 2);
10851084
}
10861085

1087-
#[test]
1088-
fn test_gen_f64() {
1089-
let mut r = thread_rng();
1090-
let a = r.gen::<f64>();
1091-
let b = r.gen::<f64>();
1092-
debug!("{:?}", (a, b));
1093-
}
1094-
10951086
#[test]
10961087
fn test_gen_weighted_bool() {
10971088
let mut r = thread_rng();

0 commit comments

Comments
 (0)