Repository: vks/average (language: rust)

Issue:
Test minimum dependencies
Test for building `average` with minimal versions of the dependencies should be added. See https://github.com/rust-random/rand/pull/874.


Discussion / hints:

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index d41e3bd..55c6315 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,15 @@ env:
   - ARCH=x86_64 FEATURES='serde1'
   - ARCH=i686 FEATURES='serde1'
 
+matrix:
+  include:
+    - rust: nightly
+      os: linux
+      name: "Minimal dependency versions"
+      script:
+        - cargo generate-lockfile -Z minimal-versions
+        - cargo check  # Building the test results in problems with rand 0.6
+
 addons:
   apt:
     packages:
diff --git a/Cargo.toml b/Cargo.toml
index 39a707f..19ba9c3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,13 +35,13 @@ serde-big-array = { version = "0.1.4", optional = true }
 
 [dependencies.conv]
 default-features = false
-version = "0.3"
+version = "0.3.2"
 
 [dev-dependencies]
 bencher = "0.1"
 rand = "0.7"
 rand_xoshiro = "0.3"
-rand_distr = "0.2"
+rand_distr = "0.2.1"
 serde_json = "1"
 streaming-stats = "0.2"
 quantiles = "0.7"


Test patch: