Bump version to 0.3.20 and remove 'log' dev-dependency
diff --git a/Cargo.toml b/Cargo.toml
index ce08a70..12b723a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rand"
-version = "0.3.19"
+version = "0.3.20"
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
@@ -20,11 +20,6 @@
[dependencies]
libc = "0.2"
-[dev-dependencies]
-# log 0.3.9 is a wrapper around 0.4.0 which doesn't work with rustc 1.15
-# To keep our CI pin on 1.15 we require log <= 0.3.8.
-log = "0.3, <=0.3.8"
-
[workspace]
members = ["rand-derive"]
diff --git a/src/lib.rs b/src/lib.rs
index 64ca6fd..638f98b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -245,8 +245,6 @@
#![cfg_attr(feature = "i128_support", feature(i128_type))]
-#[cfg(test)] #[macro_use] extern crate log;
-
use std::cell::RefCell;
use std::marker;
@@ -1146,14 +1144,6 @@
}
#[test]
- fn test_gen_f64() {
- let mut r = thread_rng();
- let a = r.gen::<f64>();
- let b = r.gen::<f64>();
- debug!("{:?}", (a, b));
- }
-
- #[test]
fn test_gen_weighted_bool() {
let mut r = thread_rng();
assert_eq!(r.gen_weighted_bool(0), true);