Patchwork D7115: rust-dependencies: pin the dependencies of hg-core to prevent breakage

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2019, 1:28 p.m.
Message ID <differential-rev-PHID-DREV-rgvl4kbhxztmxzuhe54h-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42381/
State Superseded
Headers show

Comments

phabricator - Oct. 16, 2019, 1:28 p.m.
Alphare created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  A new version of the `rand` crate broke two discovery tests. We should
  upgrade our dependencies periodically manually.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7115

AFFECTED FILES
  rust/hg-core/Cargo.toml

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml
--- a/rust/hg-core/Cargo.toml
+++ b/rust/hg-core/Cargo.toml
@@ -12,6 +12,6 @@ 
 byteorder = "1.3.1"
 lazy_static = "1.3.0"
 memchr = "2.2.0"
-rand = "> 0.6.4"
-rand_pcg = "> 0.1.0"
-regex = "^1.1"
+rand = "0.6.5"
+rand_pcg = "0.1.1"
+regex = "1.1.0"