diff --git a/Cargo.lock b/Cargo.lock index b3667fd..5a52e6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,7 +147,21 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8769706aad5d996120af43197bf46ef6ad0fda35216b4505f926a365a232d924" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.11", ] [[package]] @@ -327,9 +341,9 @@ checksum = "22752a1003c06a3f04f9ea66e4899f97132a1888276fee2d5fbe5f6820eee274" dependencies = [ "ansi_term", "anyhow", - "cargo_metadata", + "cargo_metadata 0.18.1", "dirs", - "dylint_internal", + "dylint_internal 3.2.1", "is-terminal", "log", "once_cell", @@ -349,7 +363,7 @@ dependencies = [ "ansi_term", "anyhow", "bitflags 2.6.0", - "cargo_metadata", + "cargo_metadata 0.18.1", "git2", "home", "if_chain", @@ -359,22 +373,37 @@ dependencies = [ "regex", "rust-embed", "serde", - "thiserror", + "thiserror 1.0.63", + "toml 0.8.19", +] + +[[package]] +name = "dylint_internal" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89499236f169dc57ad3c6c8e85eea213efcf743c5a9856ab82522e62512bcff" +dependencies = [ + "anyhow", + "cargo_metadata 0.19.1", + "once_cell", + "regex", + "serde", + "thiserror 2.0.11", "toml 0.8.19", ] [[package]] name = "dylint_linting" -version = "3.2.1" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0338d94b92ffeece90a8ba405c6d051f18b4483558728537a333daa3bb422616" +checksum = "5b29cae692caaa724b2462872ac9ccd15d5639f19f36e10bfcb8a8dd00456e86" dependencies = [ - "cargo_metadata", - "dylint_internal", + "cargo_metadata 0.19.1", + "dylint_internal 4.0.0", "paste", "rustversion", "serde", - "thiserror", + "thiserror 2.0.11", "toml 0.8.19", ] @@ -385,10 +414,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e1581603a3fc49b8ede8bed50f5e2d719ce607572f5e5d5d06f200f3285448a" dependencies = [ "anyhow", - "cargo_metadata", + "cargo_metadata 0.18.1", "compiletest_rs", "dylint", - "dylint_internal", + "dylint_internal 3.2.1", "env_logger", "once_cell", "regex", @@ -956,9 +985,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -1020,7 +1049,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1111,7 +1140,7 @@ checksum = "70f5b7fc8060f4f8373f9381a630304b42e1183535d9beb1d3f596b236c9106a" dependencies = [ "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -1233,9 +1262,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "syn" -version = "2.0.76" +version = "2.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" +checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" dependencies = [ "proc-macro2", "quote", @@ -1285,7 +1314,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -1299,6 +1337,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tinyvec" version = "1.8.0" diff --git a/Cargo.toml b/Cargo.toml index c8960f4..15ad2a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ par_fold = { path = "lints/par_fold", features = ["rlib"] } par_iter = { path = "lints/par_iter", features = ["rlib"] } rayon_imports = { path = "lints/rayon_imports", features = ["rlib"] } -dylint_linting = { version = "3.2.1" } +dylint_linting = { version = "4.0.0" } [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/filter/Cargo.toml b/lints/filter/Cargo.toml index 300f943..e668464 100644 --- a/lints/filter/Cargo.toml +++ b/lints/filter/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/fold/Cargo.toml b/lints/fold/Cargo.toml index 9584086..374a734 100644 --- a/lints/fold/Cargo.toml +++ b/lints/fold/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["cdylib", "rlib"] clippy_utils = { workspace = true } utils = { workspace = true } -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" [dev-dependencies] dylint_testing = "3.2.1" diff --git a/lints/for_each/Cargo.toml b/lints/for_each/Cargo.toml index 508e413..fac041f 100644 --- a/lints/for_each/Cargo.toml +++ b/lints/for_each/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/map/Cargo.toml b/lints/map/Cargo.toml index 48f2f7c..c07d075 100644 --- a/lints/map/Cargo.toml +++ b/lints/map/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["cdylib", "rlib"] clippy_utils = { workspace = true } utils = { workspace = true } -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" [dev-dependencies] dylint_testing = "3.2.1" diff --git a/lints/par_fold/Cargo.toml b/lints/par_fold/Cargo.toml index ad2c154..6eacf4b 100644 --- a/lints/par_fold/Cargo.toml +++ b/lints/par_fold/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/par_iter/Cargo.toml b/lints/par_iter/Cargo.toml index 152d547..c2c1016 100644 --- a/lints/par_iter/Cargo.toml +++ b/lints/par_iter/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/rayon_imports/Cargo.toml b/lints/rayon_imports/Cargo.toml index cfd5409..b889d55 100644 --- a/lints/rayon_imports/Cargo.toml +++ b/lints/rayon_imports/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/to_iter/Cargo.toml b/lints/to_iter/Cargo.toml index 4d6d6dc..65a1779 100644 --- a/lints/to_iter/Cargo.toml +++ b/lints/to_iter/Cargo.toml @@ -10,7 +10,7 @@ publish = false crate-type = ["cdylib", "rlib"] [dependencies] -dylint_linting = "3.2.1" +dylint_linting = "4.0.0" clippy_utils = { workspace = true } utils = { workspace = true }