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
This commit is contained in:
bors 2024-03-11 17:19:06 +00:00
commit 870e016b65

View file

@ -24,7 +24,7 @@ path = "src/driver.rs"
clippy_config = { path = "clippy_config" } clippy_config = { path = "clippy_config" }
clippy_lints = { path = "clippy_lints" } clippy_lints = { path = "clippy_lints" }
rustc_tools_util = "0.3.0" rustc_tools_util = "0.3.0"
tempfile = { version = "3.2", optional = true } tempfile = { version = "3.3", optional = true }
termize = "0.1" termize = "0.1"
color-print = "0.3.4" color-print = "0.3.4"
anstream = "0.6.0" anstream = "0.6.0"
@ -32,7 +32,7 @@ anstream = "0.6.0"
[dev-dependencies] [dev-dependencies]
ui_test = "0.22.2" ui_test = "0.22.2"
tester = "0.9" tester = "0.9"
regex = "1.5" regex = "1.5.5"
toml = "0.7.3" toml = "0.7.3"
walkdir = "2.3" walkdir = "2.3"
# This is used by the `collect-metadata` alias. # This is used by the `collect-metadata` alias.
@ -42,8 +42,8 @@ itertools = "0.12"
# UI test dependencies # UI test dependencies
clippy_utils = { path = "clippy_utils" } clippy_utils = { path = "clippy_utils" }
if_chain = "1.0" if_chain = "1.0"
quote = "1.0" quote = "1.0.25"
serde = { version = "1.0.125", features = ["derive"] } serde = { version = "1.0.145", features = ["derive"] }
syn = { version = "2.0", features = ["full"] } syn = { version = "2.0", features = ["full"] }
futures = "0.3" futures = "0.3"
parking_lot = "0.12" parking_lot = "0.12"