Skip to content

Commit 870e016

Browse files
committed
Auto merge of #12430 - sanxiyn:direct-minimal-versions, r=Alexendoo
Fix dependency specifications As Clippy lacks `Cargo.lock`, it makes sense to test its dependency specifications with [direct-minimal-versions](https://doc.rust-lang.org/cargo/reference/unstable.html#direct-minimal-versions). This can be done with the following addition to `.cargo/config.toml`. ```toml [unstable] direct-minimal-versions = true ``` * `tempfile` 3.3 is required by `clippy_lints`. * `regex` 1.5.5 is required by `ui_test` 0.22.2. * `quote` 1.0.25 is required by `syn` 2.0.0. * `serde` 1.0.145 is required by `toml` 0.7.3. changelog: none
2 parents 6ff4e71 + a9858da commit 870e016

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ path = "src/driver.rs"
2424
clippy_config = { path = "clippy_config" }
2525
clippy_lints = { path = "clippy_lints" }
2626
rustc_tools_util = "0.3.0"
27-
tempfile = { version = "3.2", optional = true }
27+
tempfile = { version = "3.3", optional = true }
2828
termize = "0.1"
2929
color-print = "0.3.4"
3030
anstream = "0.6.0"
3131

3232
[dev-dependencies]
3333
ui_test = "0.22.2"
3434
tester = "0.9"
35-
regex = "1.5"
35+
regex = "1.5.5"
3636
toml = "0.7.3"
3737
walkdir = "2.3"
3838
# This is used by the `collect-metadata` alias.
@@ -42,8 +42,8 @@ itertools = "0.12"
4242
# UI test dependencies
4343
clippy_utils = { path = "clippy_utils" }
4444
if_chain = "1.0"
45-
quote = "1.0"
46-
serde = { version = "1.0.125", features = ["derive"] }
45+
quote = "1.0.25"
46+
serde = { version = "1.0.145", features = ["derive"] }
4747
syn = { version = "2.0", features = ["full"] }
4848
futures = "0.3"
4949
parking_lot = "0.12"

0 commit comments

Comments
 (0)