Skip to content

Commit 59a48ed

Browse files
authored
Merge pull request #221 from dhardy/0.4
0.4.2 release
2 parents c1d80c2 + 42180c7 commit 59a48ed

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;
@@ -1081,14 +1080,6 @@ mod test {
10811080
r.gen_range(5, 2);
10821081
}
10831082

1084-
#[test]
1085-
fn test_gen_f64() {
1086-
let mut r = thread_rng();
1087-
let a = r.gen::<f64>();
1088-
let b = r.gen::<f64>();
1089-
debug!("{:?}", (a, b));
1090-
}
1091-
10921083
#[test]
10931084
fn test_gen_weighted_bool() {
10941085
let mut r = thread_rng();

0 commit comments

Comments
 (0)