| 1 |
From: Federico Ceratto <[email protected]> |
| 2 |
Date: Sat, 21 Mar 2026 12:36:00 +0100 |
| 3 |
Subject: Disable unneded deps, support older deps as needed |
| 4 |
|
| 5 |
--- |
| 6 |
Cargo.toml | 57 ++++++++++++++++++++++++++++----------------------------- |
| 7 |
core/Cargo.toml | 2 +- |
| 8 |
2 files changed, 29 insertions(+), 30 deletions(-) |
| 9 |
|
| 10 |
diff --git a/Cargo.toml b/Cargo.toml |
| 11 |
index 58d1115..2356237 100644 |
| 12 |
--- a/Cargo.toml |
| 13 |
+++ b/Cargo.toml |
| 14 |
@@ -7,7 +7,7 @@ members = [ |
| 15 |
"core", |
| 16 |
"core/proc-macros", |
| 17 |
"lib", |
| 18 |
- "lib/gen-protos", |
| 19 |
+# "lib/gen-protos", |
| 20 |
"lib/testutils", |
| 21 |
] |
| 22 |
|
| 23 |
@@ -25,11 +25,11 @@ keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"] |
| 24 |
|
| 25 |
[workspace.dependencies] |
| 26 |
ansi-to-tui = "8.0.1" |
| 27 |
-anstream = "1.0.0" |
| 28 |
-assert_cmd = "2.2.2" |
| 29 |
+anstream = ">=0.6.21" |
| 30 |
+assert_cmd = ">=2.1.2" |
| 31 |
assert_matches = "1.5.0" |
| 32 |
-async-trait = "0.1.89" |
| 33 |
-blake2 = "0.10.6" |
| 34 |
+async-trait = ">=0.1.89" |
| 35 |
+blake2 = ">=0.10.6" |
| 36 |
bstr = { version = "1.12.1", features = ["serde"] } |
| 37 |
chrono = { version = "0.4.44", default-features = false, features = [ |
| 38 |
"std", |
| 39 |
@@ -44,22 +44,22 @@ clap = { version = "4.6.1", features = [ |
| 40 |
] } |
| 41 |
# Update clap-markdown manually since test_generate_md_cli_help snapshot |
| 42 |
# will need regenerating. |
| 43 |
-clap-markdown = "=0.1.5" |
| 44 |
+clap-markdown = ">=0.1.5" |
| 45 |
clap_complete = { version = "4.6.5", features = ["unstable-dynamic"] } |
| 46 |
clap_complete_nushell = "4.6.0" |
| 47 |
clap_mangen = "0.3.0" |
| 48 |
clru = "0.6.3" |
| 49 |
-criterion = "0.8.2" |
| 50 |
-crossterm = { version = "0.29", default-features = false, features = ["windows"] } |
| 51 |
+criterion = ">=0.5.1" |
| 52 |
+crossterm = { version = ">=0.29", default-features = false, features = [] } |
| 53 |
ctrlc = { version = "3.5.2", features = ["termination"] } |
| 54 |
datatest-stable = "0.3.3" |
| 55 |
digest = "0.10.7" |
| 56 |
dunce = "1.0.5" |
| 57 |
either = "1.16.0" |
| 58 |
erased-serde = "0.4.10" |
| 59 |
-etcetera = "0.11.0" |
| 60 |
-eyre = "0.6" |
| 61 |
-futures = "0.3.32" |
| 62 |
+etcetera = ">=0.10.0" |
| 63 |
+eyre = ">=0.6" |
| 64 |
+futures = ">=0.3.32" |
| 65 |
gix = { version = "0.87.1", default-features = false, features = [ |
| 66 |
"attributes", |
| 67 |
"blob-diff", |
| 68 |
@@ -68,32 +68,31 @@ gix = { version = "0.87.1", default-features = false, features = [ |
| 69 |
"sha1", |
| 70 |
"sha256", |
| 71 |
] } |
| 72 |
-gix-ignore = { version = "0.22.1" } |
| 73 |
-globset = "0.4.18" |
| 74 |
-hashbrown = { version = "0.17.1", default-features = false, features = ["inline-more"] } |
| 75 |
+gix-ignore = { version = ">=0.22.0" } |
| 76 |
+globset = ">=0.4.18" |
| 77 |
+hashbrown = { version = ">=0.16.1", default-features = false, features = ["inline-more"] } |
| 78 |
indexmap = { version = "2.14.0", features = ["serde"] } |
| 79 |
indoc = "2.0.7" |
| 80 |
insta = { version = "1.47.2", features = ["filters"] } |
| 81 |
interim = { version = "0.2.1", features = ["chrono_0_4"] } |
| 82 |
-itertools = "0.15.0" |
| 83 |
-jsonschema = { version = "0.51.0", default-features = false } |
| 84 |
-libc = { version = "0.2.186" } |
| 85 |
+itertools = ">=0.14.0" |
| 86 |
+jsonschema = { version = ">=0.37.4", default-features = false } |
| 87 |
+libc = { version = ">=0.2.186" } |
| 88 |
maplit = "1.0.2" |
| 89 |
memchr = "2.8.2" |
| 90 |
-# no_thp due to perf issues with kernel page compaction, see #9708 |
| 91 |
-mimalloc = { version = "0.1.52", features = ["no_thp"] } |
| 92 |
-nix = "0.31.3" |
| 93 |
+mimalloc = { version = ">=0.1.52" } |
| 94 |
+nix = ">=0.30.1" |
| 95 |
num_cpus = "1.17.0" |
| 96 |
once_cell = "1.21.4" |
| 97 |
percent-encoding = "2.3.2" |
| 98 |
pest = "2.8.6" |
| 99 |
pest_derive = "2.8.6" |
| 100 |
-pollster = "1.0.1" |
| 101 |
+pollster = ">=0.4.0" |
| 102 |
pretty_assertions = "1.4.1" |
| 103 |
proc-macro2 = "1.0.104" |
| 104 |
proptest = "1.11.0" |
| 105 |
-proptest-derive = "0.8.0" |
| 106 |
-proptest-state-machine = "0.8.0" |
| 107 |
+proptest-derive = ">=0.4.0" |
| 108 |
+proptest-state-machine = ">=0.4.0" |
| 109 |
prost = "0.14.3" |
| 110 |
prost-build = "0.14.3" |
| 111 |
quote = "1.0.45" |
| 112 |
@@ -112,7 +111,7 @@ sapling-streampager = "0.12.0" |
| 113 |
scm-record = "0.10.0" |
| 114 |
serde = { version = "1.0", features = ["derive", "rc"] } |
| 115 |
serde_json = "1.0.150" |
| 116 |
-shlex = "2.0.1" |
| 117 |
+shlex = ">=1.3.0" |
| 118 |
slab = "0.4.12" |
| 119 |
smallvec = { version = "1.15.1", features = [ |
| 120 |
"const_generics", |
| 121 |
@@ -124,14 +123,14 @@ strsim = "0.11.1" |
| 122 |
syn = "3.0.3" |
| 123 |
tempfile = "3.27.0" |
| 124 |
test-case = "3.3.1" |
| 125 |
-textwrap = "0.16.2" |
| 126 |
+textwrap = ">=0.16.2" |
| 127 |
thiserror = "2.0.17" |
| 128 |
timeago = { version = "0.6.0", default-features = false } |
| 129 |
tokio = { version = "1.52.3", features = ["fs", "io-util", "process", "rt-multi-thread", "sync", "time"] } |
| 130 |
toml = "1.1.0" |
| 131 |
-toml_edit = { version = "0.25.12", features = ["serde"] } |
| 132 |
-tracing = "0.1.44" |
| 133 |
-tracing-chrome = "0.7.2" |
| 134 |
+toml_edit = { version = ">=0.25.11", features = ["serde"] } |
| 135 |
+tracing = ">=0.1.44" |
| 136 |
+tracing-chrome = ">=0.7.2" |
| 137 |
tracing-subscriber = { version = "0.3.23", default-features = false, features = [ |
| 138 |
"std", |
| 139 |
"ansi", |
| 140 |
@@ -141,7 +140,7 @@ tracing-subscriber = { version = "0.3.23", default-features = false, features = |
| 141 |
unicode-width = "0.2.2" |
| 142 |
watchman_client = "0.9.0" |
| 143 |
whoami = "2.1.2" |
| 144 |
-winreg = "0.56" |
| 145 |
+# winreg = "0.56" |
| 146 |
|
| 147 |
# put all inter-workspace libraries, i.e. those that use 'path = ...' here in |
| 148 |
# their own (alphabetically sorted) block |
| 149 |
diff --git a/core/Cargo.toml b/core/Cargo.toml |
| 150 |
index cf4f4d8..7258a81 100644 |
| 151 |
--- a/core/Cargo.toml |
| 152 |
+++ b/core/Cargo.toml |
| 153 |
@@ -48,7 +48,7 @@ test-case = { workspace = true } |
| 154 |
|
| 155 |
[target.'cfg(windows)'.dependencies] |
| 156 |
same-file = { workspace = true } |
| 157 |
-winreg = { workspace = true } |
| 158 |
+# winreg = { workspace = true } |
| 159 |
|
| 160 |
[lints] |
| 161 |
workspace = true |