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

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Wed Oct 16 13:28:53 UTC 2019


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

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"



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


More information about the Mercurial-devel mailing list