diff --git a/CHANGELOG.md b/CHANGELOG.md index 47d476fd0..fc6064ac2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 3.2.0 + +- Upgrade `compiletest_rs` to version 0.11 in `dylint_testing` ([145623a](https://github.com/trailofbits/dylint/commit/145623aedba033d90e25e54b6f178178202df3d5)) +- Add documentation on the example libraries' use of `dylint_linting`'s `constituent` feature ([9625952](https://github.com/trailofbits/dylint/commit/96259528055d0cad4a52c9914e056ad614c821ce)) +- Add documentation on suppressing rustc's `unexpected_cfg` lint warnings ([#1243](https://github.com/trailofbits/dylint/pull/1243) and [#1252](https://github.com/trailofbits/dylint/pull/1252)) +- FEATURE: Allow `pattern`s to be arrays when specifying workspace metadata entries ([#1273](https://github.com/trailofbits/dylint/pull/1273)) +- Upgrade `cargo` to version 0.81 ([#1280](https://github.com/trailofbits/dylint/pull/1280)) +- Add `#![feature(rustc_private)]` to `dylint_driver`'s main.rs. This fixes a bug caused by [rust-lang/rust#122362](https://github.com/rust-lang/rust/pull/122362). ([b691069](https://github.com/trailofbits/dylint/commit/b69106982158c34a1874639fa7b196a4a1e830bb)) +- Enable Dylint to use Cargo's checkouts directories concurrently. Previously, such concurrent use could cause Dylint to produce errors. ([cb6299a](https://github.com/trailofbits/dylint/commit/cb6299aa10418e655e6e585b564190ad802ad535)) +- FEATURE: In `dylint_testing`, `ui_test` and `Test::src_base` now accept an `impl AsRef` as opposed to a `&Path` ([be85b10](https://github.com/trailofbits/dylint/commit/be85b10a44e4fc173241a71cf7b0e1fba65d8c74)) + ## 3.1.2 - Extend rather than overwrite `RUSTFLAGS` when building drivers ([7662d4c](https://github.com/trailofbits/dylint/commit/7662d4c4d761aeaa47e37a74cd9133adc9b8ae59)) diff --git a/Cargo.lock b/Cargo.lock index 7077fa1cd..56a81e857 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -375,7 +375,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "assert_cmd", @@ -870,7 +870,7 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "assert_cmd", @@ -921,7 +921,7 @@ dependencies = [ [[package]] name = "dylint_examples" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -932,7 +932,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -959,7 +959,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -1089,7 +1089,7 @@ dependencies = [ [[package]] name = "expensive" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "dylint_internal", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index fb104c13c..1361d06da 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -17,10 +17,10 @@ anyhow = { version = "1.0", features = ["backtrace"] } clap = { version = "4.5", features = ["cargo", "derive", "wrap_help"] } env_logger = "0.11" -dylint = { version = "=3.1.2", path = "../dylint", features = [ +dylint = { version = "=3.2.0", path = "../dylint", features = [ "package_options", ] } -dylint_internal = { version = "=3.1.2", path = "../internal" } +dylint_internal = { version = "=3.2.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" @@ -38,7 +38,7 @@ similar-asserts = "1.6" tempfile = "3.12" walkdir = "2.5" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "testing", ] } diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 4b148c29d..b65204abf 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "dylint_internal", @@ -30,7 +30,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "log", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index e83022019..6ca7bdd78 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Dylint driver library" edition = "2021" @@ -15,7 +15,7 @@ log = "0.4" rustversion = "1.0" serde_json = "1.0" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "rustup", ] } diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index 557eb4cfa..54bbbaa5a 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A wrapper around Rust's default linker to help create Dyling libraries" edition = "2021" @@ -13,19 +13,19 @@ env_logger = "0.11" if_chain = "1.0" toml_edit = "0.22" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "cargo", ] } [build-dependencies] -dylint_internal = { version = "=3.1.2", path = "../internal" } +dylint_internal = { version = "=3.2.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.1" tempfile = "3.12" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "packaging", ] } diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index d16f50851..7e8dcb1e6 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -44,7 +44,7 @@ curl-sys = { version = "0.4", features = [ "force-system-lib-on-osx", ], optional = true } -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "config", "git", "packaging", @@ -53,14 +53,14 @@ dylint_internal = { version = "=3.1.2", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.11" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "examples", ] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 954d1a9c0..65fa0ec30 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_examples" -version = "3.1.2" +version = "3.2.0" description = "A dummy package for testing the example Dylint libraries" edition = "2021" license = "MIT OR Apache-2.0" @@ -12,7 +12,7 @@ cargo_metadata = "0.18" toml_edit = "0.22" walkdir = "2.5" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "clippy_utils", "examples", ] } diff --git a/examples/experimental/derive_opportunity/Cargo.lock b/examples/experimental/derive_opportunity/Cargo.lock index d405dccde..7a39c9909 100644 --- a/examples/experimental/derive_opportunity/Cargo.lock +++ b/examples/experimental/derive_opportunity/Cargo.lock @@ -231,7 +231,7 @@ dependencies = [ [[package]] name = "derive_opportunity" -version = "3.1.2" +version = "3.2.0" dependencies = [ "bitflags 2.6.0", "clippy_utils", @@ -303,7 +303,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -322,7 +322,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -343,7 +343,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -356,7 +356,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/experimental/derive_opportunity/Cargo.toml b/examples/experimental/derive_opportunity/Cargo.toml index 630da33e8..30f87c44a 100644 --- a/examples/experimental/derive_opportunity/Cargo.toml +++ b/examples/experimental/derive_opportunity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_opportunity" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for traits that could be derived" edition = "2021" diff --git a/examples/experimental/missing_doc_comment_openai/Cargo.lock b/examples/experimental/missing_doc_comment_openai/Cargo.lock index 4cd10bca9..e4abaaeee 100644 --- a/examples/experimental/missing_doc_comment_openai/Cargo.lock +++ b/examples/experimental/missing_doc_comment_openai/Cargo.lock @@ -319,7 +319,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -338,7 +338,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -359,7 +359,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -372,7 +372,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -708,7 +708,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "curl", diff --git a/examples/experimental/missing_doc_comment_openai/Cargo.toml b/examples/experimental/missing_doc_comment_openai/Cargo.toml index 2a48f31ba..423e8930b 100644 --- a/examples/experimental/missing_doc_comment_openai/Cargo.toml +++ b/examples/experimental/missing_doc_comment_openai/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "missing_doc_comment_openai" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint that suggests doc comments using OpenAI" edition = "2021" diff --git a/examples/general/Cargo.lock b/examples/general/Cargo.lock index 4072b3e6b..7868eb06c 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "abs_home_path" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -117,7 +117,7 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "await_holding_span_guard" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "basic_dead_store" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -275,7 +275,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "3.1.2" +version = "3.2.0" dependencies = [ "assert_cmd", "cargo_metadata", @@ -379,7 +379,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -398,7 +398,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -419,7 +419,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -432,7 +432,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -529,7 +529,7 @@ dependencies = [ [[package]] name = "general" -version = "3.1.2" +version = "3.2.0" dependencies = [ "abs_home_path", "await_holding_span_guard", @@ -651,7 +651,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "incorrect_matches_operation" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "3.1.2" +version = "3.2.0" dependencies = [ "bitflags 2.6.0", "clippy_utils", @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1695,7 +1695,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index 3e7e7d436..ac87be7ac 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "General-purpose lints" edition = "2021" diff --git a/examples/general/abs_home_path/Cargo.toml b/examples/general/abs_home_path/Cargo.toml index eeb44e7c1..931703343 100644 --- a/examples/general/abs_home_path/Cargo.toml +++ b/examples/general/abs_home_path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "abs_home_path" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for string literals that are absolute paths into the user's home directory" edition = "2021" diff --git a/examples/general/await_holding_span_guard/Cargo.toml b/examples/general/await_holding_span_guard/Cargo.toml index f72ec8494..c36fc7e56 100644 --- a/examples/general/await_holding_span_guard/Cargo.toml +++ b/examples/general/await_holding_span_guard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "await_holding_span_guard" -version = "3.1.2" +version = "3.2.0" authors = ["David Barsky"] description = "A lint to check for Span guards held while calling await inside an async function" edition = "2021" diff --git a/examples/general/basic_dead_store/Cargo.toml b/examples/general/basic_dead_store/Cargo.toml index 2d92fbab3..363058f5f 100644 --- a/examples/general/basic_dead_store/Cargo.toml +++ b/examples/general/basic_dead_store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "basic_dead_store" -version = "3.1.2" +version = "3.2.0" authors = ["Filipe Casal "] description = "A lint to find simple instances of dead stores in arrays" edition = "2021" diff --git a/examples/general/crate_wide_allow/Cargo.toml b/examples/general/crate_wide_allow/Cargo.toml index 1963c5de4..1b37373b7 100644 --- a/examples/general/crate_wide_allow/Cargo.toml +++ b/examples/general/crate_wide_allow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "crate_wide_allow" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for `#![allow(...)]` used at the crate level" edition = "2021" diff --git a/examples/general/crate_wide_allow/ui_manifest/Cargo.lock b/examples/general/crate_wide_allow/ui_manifest/Cargo.lock index a1817c202..6dd70ba2d 100644 --- a/examples/general/crate_wide_allow/ui_manifest/Cargo.lock +++ b/examples/general/crate_wide_allow/ui_manifest/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "ui_manifest" -version = "0.1.0" +version = "3.2.0" diff --git a/examples/general/crate_wide_allow/ui_manifest/Cargo.toml b/examples/general/crate_wide_allow/ui_manifest/Cargo.toml index 2387175e5..e656e1099 100644 --- a/examples/general/crate_wide_allow/ui_manifest/Cargo.toml +++ b/examples/general/crate_wide_allow/ui_manifest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ui_manifest" -version = "0.1.0" +version = "3.2.0" edition = "2021" [lints.clippy] diff --git a/examples/general/incorrect_matches_operation/Cargo.toml b/examples/general/incorrect_matches_operation/Cargo.toml index 8a679f8b9..fd61f4032 100644 --- a/examples/general/incorrect_matches_operation/Cargo.toml +++ b/examples/general/incorrect_matches_operation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incorrect_matches_operation" -version = "3.1.2" +version = "3.2.0" authors = ["Dominik Czarnota "] description = "A lint to check for incorrect operators used with matches! macros" edition = "2021" diff --git a/examples/general/non_local_effect_before_error_return/Cargo.toml b/examples/general/non_local_effect_before_error_return/Cargo.toml index 9b7763385..6db3b978b 100644 --- a/examples/general/non_local_effect_before_error_return/Cargo.toml +++ b/examples/general/non_local_effect_before_error_return/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "non_local_effect_before_error_return" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for non-local effects before return of an error" edition = "2021" diff --git a/examples/general/non_thread_safe_call_in_test/Cargo.toml b/examples/general/non_thread_safe_call_in_test/Cargo.toml index 856d4b8ab..5651674aa 100644 --- a/examples/general/non_thread_safe_call_in_test/Cargo.toml +++ b/examples/general/non_thread_safe_call_in_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "non_thread_safe_call_in_test" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for non-thread-safe function calls in tests" edition = "2021" diff --git a/examples/general/wrong_serialize_struct_arg/Cargo.toml b/examples/general/wrong_serialize_struct_arg/Cargo.toml index 414f7b794..fccf830fd 100644 --- a/examples/general/wrong_serialize_struct_arg/Cargo.toml +++ b/examples/general/wrong_serialize_struct_arg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wrong_serialize_struct_arg" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for calls to `serialize_struct` with incorrect `len` arguments" edition = "2021" diff --git a/examples/restriction/Cargo.lock b/examples/restriction/Cargo.lock index 5c907ae6d..9e645b777 100644 --- a/examples/restriction/Cargo.lock +++ b/examples/restriction/Cargo.lock @@ -99,7 +99,7 @@ dependencies = [ [[package]] name = "assert_eq_arg_misordering" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -210,7 +210,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "3.1.2" +version = "3.2.0" dependencies = [ "camino", "clippy_utils", @@ -429,7 +429,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -469,7 +469,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -482,7 +482,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -514,7 +514,7 @@ dependencies = [ [[package]] name = "env_literal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -705,7 +705,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "diesel", @@ -856,7 +856,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -908,7 +908,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "assert_cmd", @@ -985,7 +985,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1025,7 +1025,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1064,7 +1064,7 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "register_lints_warn" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1243,7 +1243,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "suboptimal_pattern" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1420,7 +1420,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "clippy_utils", diff --git a/examples/restriction/assert_eq_arg_misordering/Cargo.toml b/examples/restriction/assert_eq_arg_misordering/Cargo.toml index 3a172016b..54d938d4a 100644 --- a/examples/restriction/assert_eq_arg_misordering/Cargo.toml +++ b/examples/restriction/assert_eq_arg_misordering/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "assert_eq_arg_misordering" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for `assert_eq!(actual, expected)`" edition = "2021" diff --git a/examples/restriction/collapsible_unwrap/Cargo.toml b/examples/restriction/collapsible_unwrap/Cargo.toml index b132cb7b0..9f9c510ad 100644 --- a/examples/restriction/collapsible_unwrap/Cargo.toml +++ b/examples/restriction/collapsible_unwrap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "collapsible_unwrap" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for an `unwrap` that could be combined with an `expect` or `unwrap` using `and_then`" edition = "2021" diff --git a/examples/restriction/const_path_join/Cargo.toml b/examples/restriction/const_path_join/Cargo.toml index ce53b6879..4b886e005 100644 --- a/examples/restriction/const_path_join/Cargo.toml +++ b/examples/restriction/const_path_join/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "const_path_join" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for joining of constant path components" edition = "2021" diff --git a/examples/restriction/env_literal/Cargo.toml b/examples/restriction/env_literal/Cargo.toml index c20eb7ad7..760288928 100644 --- a/examples/restriction/env_literal/Cargo.toml +++ b/examples/restriction/env_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_literal" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for environment variables referred to with string literals" edition = "2021" diff --git a/examples/restriction/inconsistent_qualification/Cargo.toml b/examples/restriction/inconsistent_qualification/Cargo.toml index 1043512ad..c0a13d459 100644 --- a/examples/restriction/inconsistent_qualification/Cargo.toml +++ b/examples/restriction/inconsistent_qualification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "inconsistent_qualification" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for inconsistent qualification of module items" edition = "2021" diff --git a/examples/restriction/misleading_variable_name/Cargo.toml b/examples/restriction/misleading_variable_name/Cargo.toml index 81f3fa086..d09136a77 100644 --- a/examples/restriction/misleading_variable_name/Cargo.toml +++ b/examples/restriction/misleading_variable_name/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "misleading_variable_name" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for variables whose names suggest they have types other than the ones they have" edition = "2021" diff --git a/examples/restriction/overscoped_allow/Cargo.toml b/examples/restriction/overscoped_allow/Cargo.toml index db72fc70e..d24daef64 100644 --- a/examples/restriction/overscoped_allow/Cargo.toml +++ b/examples/restriction/overscoped_allow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "overscoped_allow" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for `allow` attributes whose scope could be reduced" edition = "2021" diff --git a/examples/restriction/question_mark_in_expression/Cargo.toml b/examples/restriction/question_mark_in_expression/Cargo.toml index 5cb48bf6e..d87b7d024 100644 --- a/examples/restriction/question_mark_in_expression/Cargo.toml +++ b/examples/restriction/question_mark_in_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "question_mark_in_expression" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator in expressions" edition = "2021" diff --git a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml index 19154089b..4349397e4 100644 --- a/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml +++ b/examples/restriction/ref_aware_redundant_closure_for_method_calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ref_aware_redundant_closure_for_method_calls" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A ref-aware fork of `redundant_closure_for_method_calls`" edition = "2021" diff --git a/examples/restriction/register_lints_warn/Cargo.toml b/examples/restriction/register_lints_warn/Cargo.toml index 40fcfffad..356b75f1f 100644 --- a/examples/restriction/register_lints_warn/Cargo.toml +++ b/examples/restriction/register_lints_warn/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "register_lints_warn" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for calls to `rustc_errors::DiagCtxtHandle::warn` from within a `register_lints` function" edition = "2021" diff --git a/examples/restriction/suboptimal_pattern/Cargo.toml b/examples/restriction/suboptimal_pattern/Cargo.toml index 73a5dec37..538eea92a 100644 --- a/examples/restriction/suboptimal_pattern/Cargo.toml +++ b/examples/restriction/suboptimal_pattern/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "suboptimal_pattern" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for patterns that could perform additional destructuring" edition = "2021" diff --git a/examples/restriction/try_io_result/Cargo.toml b/examples/restriction/try_io_result/Cargo.toml index a21bd8058..7fd4c1dc7 100644 --- a/examples/restriction/try_io_result/Cargo.toml +++ b/examples/restriction/try_io_result/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_io_result" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator applied to `std::io::Result`" edition = "2021" diff --git a/examples/supplementary/Cargo.lock b/examples/supplementary/Cargo.lock index 853964aa9..714a0a59f 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -213,7 +213,7 @@ checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "commented_code" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -365,7 +365,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -384,7 +384,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -405,7 +405,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -418,7 +418,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "escaping_doc_link" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -768,7 +768,7 @@ checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "local_ref_cell" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -929,7 +929,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1138,7 +1138,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "supplementary" -version = "3.1.2" +version = "3.2.0" dependencies = [ "commented_code", "dylint_linting", @@ -1355,7 +1355,7 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unnamed_constant" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1375,7 +1375,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index 178a9e5ce..5203eee5a 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Supplementary lints" edition = "2021" diff --git a/examples/supplementary/commented_code/Cargo.toml b/examples/supplementary/commented_code/Cargo.toml index 6c5fbfc9e..1f4ae9fa7 100644 --- a/examples/supplementary/commented_code/Cargo.toml +++ b/examples/supplementary/commented_code/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "commented_code" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for code that has been commented out" edition = "2021" diff --git a/examples/supplementary/escaping_doc_link/Cargo.toml b/examples/supplementary/escaping_doc_link/Cargo.toml index 651b06b78..1b30c4a8e 100644 --- a/examples/supplementary/escaping_doc_link/Cargo.toml +++ b/examples/supplementary/escaping_doc_link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "escaping_doc_link" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for doc comment links that escape their packages" edition = "2021" diff --git a/examples/supplementary/local_ref_cell/Cargo.toml b/examples/supplementary/local_ref_cell/Cargo.toml index 7dc54b0f4..ffcec6fa0 100644 --- a/examples/supplementary/local_ref_cell/Cargo.toml +++ b/examples/supplementary/local_ref_cell/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "local_ref_cell" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for `RefCell` local variables" edition = "2021" diff --git a/examples/supplementary/redundant_reference/Cargo.toml b/examples/supplementary/redundant_reference/Cargo.toml index 48ef3a012..c55404948 100644 --- a/examples/supplementary/redundant_reference/Cargo.toml +++ b/examples/supplementary/redundant_reference/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redundant_reference" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for reference fields used only to read one copyable subfield" edition = "2021" diff --git a/examples/supplementary/unnamed_constant/Cargo.toml b/examples/supplementary/unnamed_constant/Cargo.toml index fa42bec02..1ffc05078 100644 --- a/examples/supplementary/unnamed_constant/Cargo.toml +++ b/examples/supplementary/unnamed_constant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnamed_constant" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for unnamed constants, aka magic numbers" edition = "2021" diff --git a/examples/supplementary/unnecessary_borrow_mut/Cargo.toml b/examples/supplementary/unnecessary_borrow_mut/Cargo.toml index ed4e502c7..213ac31f5 100644 --- a/examples/supplementary/unnecessary_borrow_mut/Cargo.toml +++ b/examples/supplementary/unnecessary_borrow_mut/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnecessary_borrow_mut" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for calls to `RefCell::borrow_mut` that could be `RefCell::borrow`" edition = "2021" diff --git a/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml b/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml index 0825cc64f..5143801a2 100644 --- a/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml +++ b/examples/supplementary/unnecessary_conversion_for_trait/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnecessary_conversion_for_trait" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for unnecessary trait-behavior-preserving calls" edition = "2021" diff --git a/examples/testing/clippy/Cargo.lock b/examples/testing/clippy/Cargo.lock index 5469cf8b3..38cab2abc 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -163,7 +163,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -339,7 +339,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -358,7 +358,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -392,7 +392,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index 21e928fe8..d6d635181 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "All of the Clippy lints as a Dylint library" edition = "2021" diff --git a/examples/testing/marker/Cargo.lock b/examples/testing/marker/Cargo.lock index d85452e9c..12172cda7 100644 --- a/examples/testing/marker/Cargo.lock +++ b/examples/testing/marker/Cargo.lock @@ -128,7 +128,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -147,7 +147,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -380,7 +380,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "marker" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "bumpalo", diff --git a/examples/testing/marker/Cargo.toml b/examples/testing/marker/Cargo.toml index 463c4e64e..77e321e61 100644 --- a/examples/testing/marker/Cargo.toml +++ b/examples/testing/marker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marker" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Marker lints run from a Dylint library" edition = "2021" diff --git a/examples/testing/straggler/Cargo.lock b/examples/testing/straggler/Cargo.lock index f96516f81..5ab673d88 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -290,7 +290,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "ansi_term", "anyhow", @@ -330,7 +330,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -343,7 +343,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -980,7 +980,7 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "straggler" -version = "3.1.2" +version = "3.2.0" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index cc7519c7d..67edada9c 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "A lint that uses an old toolchain for testing purposes" edition = "2021" diff --git a/expensive/Cargo.toml b/expensive/Cargo.toml index 08da6406d..74dcc0899 100644 --- a/expensive/Cargo.toml +++ b/expensive/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "expensive" description = "Expensive tests" -version = "3.1.2" +version = "3.2.0" edition = "2021" publish = false @@ -9,7 +9,7 @@ publish = false anyhow = "1.0" tempfile = "3.12" -dylint_internal = { version = "=3.1.2", path = "../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../internal", features = [ "clippy_utils", "rustup", "sed", diff --git a/internal/Cargo.toml b/internal/Cargo.toml index ce275e14d..f5bb5dcfa 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index 24d6aadf7..e940f288e 100644 --- a/internal/template/Cargo.toml~ +++ b/internal/template/Cargo.toml~ @@ -11,10 +11,10 @@ crate-type = ["cdylib"] [dependencies] clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "a95afe2d0a2051d97b723b0b197393b7811bc4e4" } -dylint_linting = "3.1.2" +dylint_linting = "3.2.0" [dev-dependencies] -dylint_testing = "3.1.2" +dylint_testing = "3.2.0" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index cdb77ed49..365c53daf 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -99,7 +99,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "3.1.2" +version = "3.2.0" dependencies = [ "anyhow", "cargo_metadata", @@ -110,7 +110,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index 7b6289e8f..463b03a1f 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Utilities for writing Dylint libraries" edition = "2021" @@ -15,7 +15,7 @@ serde = "1.0" thiserror = "1.0" toml = "0.8" -dylint_internal = { version = "=3.1.2", path = "../../internal", features = [ +dylint_internal = { version = "=3.2.0", path = "../../internal", features = [ "config", ] } diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index bef2d2fa5..cd56a33ba 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "3.1.2" +version = "3.2.0" authors = ["Samuel E. Moelius III "] description = "Utilities for testing Dylint libraries" edition = "2021" @@ -17,8 +17,8 @@ regex = "1.10" serde_json = "1.0" tempfile = "3.12" -dylint = { version = "=3.1.2", path = "../../dylint" } -dylint_internal = { version = "=3.1.2", path = "../../internal" } +dylint = { version = "=3.2.0", path = "../../dylint" } +dylint_internal = { version = "=3.2.0", path = "../../internal" } [features] default = []