File: relax-deps.patch

package info (click to toggle)
rust-just 1.43.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: sh: 300; makefile: 6
file content (51 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Forwarded: not-needed
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -94,3 +94,3 @@ version = "1.2.7"
 [dependencies.dirs]
-version = "6.0.0"
+version = "5"
 
@@ -103,3 +103,3 @@ version = "2.0.0"
 [dependencies.heck]
-version = "0.5.0"
+version = ">= 0.4, < 0.6"
 
@@ -121,3 +121,3 @@ version = "2.3.1"
 [dependencies.rand]
-version = "0.9.0"
+version = "0.8"
 
@@ -153,6 +153,6 @@ features = ["unicode"]
 [dependencies.snafu]
-version = "0.8.0"
+version = "0.7.1"
 
 [dependencies.strum]
-version = "0.27.1"
+version = "0.26"
 features = ["derive"]
@@ -176,3 +176,3 @@ features = ["v4"]
 [dev-dependencies.clap_complete]
-version = "=4.5.48"
+version = "4" # Debian: was =4.5.48 upstream to avoid a problem in >= 4.5.50; we will ask upstream to use a different way to generate completions.
 
@@ -191,3 +191,3 @@ version = "8.0.0"
 [target."cfg(unix)".dependencies.nix]
-version = "0.30.1"
+version = ">= 0.29, < 1.0"
 features = [
--- a/src/function.rs
+++ b/src/function.rs
@@ -216,3 +216,3 @@ fn choose(_context: Context, n: &str, al
 
-  let mut rng = rand::rng();
+  let mut rng = rand::thread_rng();
 
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -106,3 +106,3 @@ pub(crate) use {
   libc::EXIT_FAILURE,
-  rand::seq::IndexedRandom,
+  rand::seq::SliceRandom,
   regex::Regex,