diff --git a/Cargo.lock b/Cargo.lock index b3667fd..4400e8c 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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" +dependencies = [ + "camino", + "cargo-platform", + "semver", + "serde", + "serde_json", + "thiserror 2.0.12", ] [[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,36 @@ dependencies = [ "regex", "rust-embed", "serde", - "thiserror", + "thiserror 1.0.63", + "toml 0.8.19", +] + +[[package]] +name = "dylint_internal" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "258d36f53de789719a4c97ecde1df80c16abbcd029c5d25f19c86164caa54cff" +dependencies = [ + "anyhow", + "cargo_metadata 0.19.2", + "regex", + "serde", + "thiserror 2.0.12", "toml 0.8.19", ] [[package]] name = "dylint_linting" -version = "3.2.1" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0338d94b92ffeece90a8ba405c6d051f18b4483558728537a333daa3bb422616" +checksum = "3293a3baa87904faeea12506ec152b56655e40fc49709d905a9be6d277b56c8e" dependencies = [ - "cargo_metadata", - "dylint_internal", + "cargo_metadata 0.19.2", + "dylint_internal 4.1.0", "paste", "rustversion", "serde", - "thiserror", + "thiserror 2.0.12", "toml 0.8.19", ] @@ -385,10 +413,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 +984,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" dependencies = [ "unicode-ident", ] @@ -1020,7 +1048,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1111,7 +1139,7 @@ checksum = "70f5b7fc8060f4f8373f9381a630304b42e1183535d9beb1d3f596b236c9106a" dependencies = [ "serde", "serde_json", - "thiserror", + "thiserror 1.0.63", "tracing", ] @@ -1233,9 +1261,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "syn" -version = "2.0.76" +version = "2.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" +checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" dependencies = [ "proc-macro2", "quote", @@ -1285,7 +1313,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.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +dependencies = [ + "thiserror-impl 2.0.12", ] [[package]] @@ -1299,6 +1336,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tinyvec" version = "1.8.0" diff --git a/Cargo.toml b/Cargo.toml index c8960f4..f99bb09 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.1.0" } [package.metadata.rust-analyzer] rustc_private = true diff --git a/lints/filter/Cargo.toml b/lints/filter/Cargo.toml index 300f943..3757e32 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/fold/Cargo.toml b/lints/fold/Cargo.toml index 9584086..033bb59 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.1.0" [dev-dependencies] dylint_testing = "3.2.1" diff --git a/lints/for_each/Cargo.toml b/lints/for_each/Cargo.toml index 508e413..1ab00b1 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/map/Cargo.toml b/lints/map/Cargo.toml index 48f2f7c..e4c186e 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.1.0" [dev-dependencies] dylint_testing = "3.2.1" diff --git a/lints/par_fold/Cargo.toml b/lints/par_fold/Cargo.toml index ad2c154..3274c18 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/par_iter/Cargo.toml b/lints/par_iter/Cargo.toml index 152d547..1b54c7f 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/rayon_imports/Cargo.toml b/lints/rayon_imports/Cargo.toml index cfd5409..00d8dbf 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true } diff --git a/lints/to_iter/Cargo.toml b/lints/to_iter/Cargo.toml index 4d6d6dc..67a72f8 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.1.0" clippy_utils = { workspace = true } utils = { workspace = true }