diff --git a/CHANGELOG.md b/CHANGELOG.md index 32394ddad..eb24e87de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.5.0 + +- Allow the `list` subcommand to accept `--manifest-path` options ([#951](https://github.com/trailofbits/dylint/pull/951)) + ## 2.4.4 - Fix [broken links](https://github.com/trailofbits/dylint/issues/691) in docs.rs documentation ([0f04fcb](https://github.com/trailofbits/dylint/commit/0f04fcb4f955639711ba3fe12c4994246c96dadb)) diff --git a/Cargo.lock b/Cargo.lock index e2a995af4..155e4129a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,7 +329,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "assert_cmd", @@ -741,7 +741,7 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -769,7 +769,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "assert_cmd", @@ -784,7 +784,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -806,7 +806,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "examples" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo-util", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index fbee59a63..20a8368ed 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -13,8 +13,8 @@ anyhow = { version = "1.0", features = ["backtrace"] } clap = { version = "4.4", features = ["cargo", "derive", "wrap_help"] } env_logger = "0.10" -dylint = { version = "=2.4.4", path = "../dylint", features = ["package_options"] } -dylint_internal = { version = "=2.4.4", path = "../internal" } +dylint = { version = "=2.5.0", path = "../dylint", features = ["package_options"] } +dylint_internal = { version = "=2.5.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" @@ -32,4 +32,4 @@ similar-asserts = "1.5" tempfile = "3.8" walkdir = "2.4" -dylint_internal = { version = "=2.4.4", path = "../internal", features = ["testing"] } +dylint_internal = { version = "=2.5.0", path = "../internal", features = ["testing"] } diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 1238371b0..1c1c023b5 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "dylint_internal", @@ -29,7 +29,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "log", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 48f2977fd..9570d6d41 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "2.4.4" +version = "2.5.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 = "=2.4.4", path = "../internal", features = ["rustup"] } +dylint_internal = { version = "=2.5.0", path = "../internal", features = ["rustup"] } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index a77bef74a..bd74ac8ce 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A wrapper around Rust's default linker to help create Dyling libraries" edition = "2021" @@ -13,17 +13,17 @@ env_logger = "0.10" if_chain = "1.0" toml_edit = "0.20" -dylint_internal = { version = "=2.4.4", path = "../internal", features = ["cargo"] } +dylint_internal = { version = "=2.5.0", path = "../internal", features = ["cargo"] } [build-dependencies] -dylint_internal = { version = "=2.4.4", path = "../internal" } +dylint_internal = { version = "=2.5.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.0" tempfile = "3.8" -dylint_internal = { version = "=2.4.4", path = "../internal", features = ["packaging"] } +dylint_internal = { version = "=2.5.0", path = "../internal", features = ["packaging"] } [target.'cfg(target_os = "windows")'.dependencies] cc = "1.0" diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index 9cd8aacf9..0cfacea5a 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -36,7 +36,7 @@ curl-sys = { version = "0.4", features = [ "force-system-lib-on-osx", ], optional = true } -dylint_internal = { version = "=2.4.4", path = "../internal", features = [ +dylint_internal = { version = "=2.5.0", path = "../internal", features = [ "git", "packaging", "rustup", @@ -44,14 +44,14 @@ dylint_internal = { version = "=2.4.4", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=2.4.4", path = "../internal", features = [ +dylint_internal = { version = "=2.5.0", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.10" -dylint_internal = { version = "=2.4.4", path = "../internal", features = [ +dylint_internal = { version = "=2.5.0", path = "../internal", features = [ "examples", ] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 0046d24e8..8b2676c0a 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "2.4.4" +version = "2.5.0" description = "A dummy package for testing the example Dylint libraries" edition = "2021" license = "MIT OR Apache-2.0" @@ -12,4 +12,4 @@ cargo_metadata = "0.18" toml_edit = "0.20" walkdir = "2.4" -dylint_internal = { version = "=2.4.4", path = "../internal", features = ["clippy_utils", "examples"] } +dylint_internal = { version = "=2.5.0", path = "../internal", features = ["clippy_utils", "examples"] } diff --git a/examples/experimental/derive_opportunity/Cargo.lock b/examples/experimental/derive_opportunity/Cargo.lock index f50edd2a4..e297810e1 100644 --- a/examples/experimental/derive_opportunity/Cargo.lock +++ b/examples/experimental/derive_opportunity/Cargo.lock @@ -164,7 +164,7 @@ dependencies = [ [[package]] name = "derive_opportunity" -version = "2.4.4" +version = "2.5.0" dependencies = [ "bitflags 2.4.1", "clippy_utils", @@ -237,7 +237,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -256,7 +256,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -285,7 +285,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/experimental/derive_opportunity/Cargo.toml b/examples/experimental/derive_opportunity/Cargo.toml index 047058b28..913b24aaf 100644 --- a/examples/experimental/derive_opportunity/Cargo.toml +++ b/examples/experimental/derive_opportunity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive_opportunity" -version = "2.4.4" +version = "2.5.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 508f46205..47a4a682d 100644 --- a/examples/experimental/missing_doc_comment_openai/Cargo.lock +++ b/examples/experimental/missing_doc_comment_openai/Cargo.lock @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -287,7 +287,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -300,7 +300,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -611,7 +611,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "2.4.4" +version = "2.5.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 54ec461d7..0b120c142 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 = "2.4.4" +version = "2.5.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 077a5ef4d..dee3e372c 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "await_holding_span_guard" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -186,7 +186,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "2.4.4" +version = "2.5.0" dependencies = [ "assert_cmd", "cargo_metadata", @@ -279,7 +279,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -314,7 +314,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -349,7 +349,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_cargo_path" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -421,7 +421,7 @@ dependencies = [ [[package]] name = "general" -version = "2.4.4" +version = "2.5.0" dependencies = [ "await_holding_span_guard", "crate_wide_allow", @@ -536,7 +536,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "incorrect_matches_operation" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -681,7 +681,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "2.4.4" +version = "2.5.0" dependencies = [ "bitflags 2.4.1", "clippy_utils", @@ -694,7 +694,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1379,7 +1379,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index a95bb2512..686d6fe40 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "General-purpose lints" edition = "2021" diff --git a/examples/general/await_holding_span_guard/Cargo.toml b/examples/general/await_holding_span_guard/Cargo.toml index 2cda47583..c28b52cc6 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 = "2.4.4" +version = "2.5.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/crate_wide_allow/Cargo.toml b/examples/general/crate_wide_allow/Cargo.toml index 91c562bf0..6baca4ed6 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 = "2.4.4" +version = "2.5.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/env_cargo_path/Cargo.toml b/examples/general/env_cargo_path/Cargo.toml index b1864324f..60a287430 100644 --- a/examples/general/env_cargo_path/Cargo.toml +++ b/examples/general/env_cargo_path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_cargo_path" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A lint to check for `env!` applied to Cargo environment variables containing paths" edition = "2021" diff --git a/examples/general/incorrect_matches_operation/Cargo.toml b/examples/general/incorrect_matches_operation/Cargo.toml index f236f0f20..77e178c13 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 = "2.4.4" +version = "2.5.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 6375c8944..5b1c36842 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 = "2.4.4" +version = "2.5.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 72135599e..c2b22ecdb 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 = "2.4.4" +version = "2.5.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 634ed6740..5a6c20555 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 = "2.4.4" +version = "2.5.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 6d9a6f30d..b8453a7b3 100644 --- a/examples/restriction/Cargo.lock +++ b/examples/restriction/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "assert_eq_arg_misordering" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -155,7 +155,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -189,7 +189,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "2.4.4" +version = "2.5.0" dependencies = [ "camino", "clippy_utils", @@ -320,7 +320,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -339,7 +339,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -355,7 +355,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -390,7 +390,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_literal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -570,7 +570,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "diesel", @@ -716,7 +716,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -769,7 +769,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "assert_cmd", @@ -843,7 +843,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -893,7 +893,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1089,7 +1089,7 @@ dependencies = [ [[package]] name = "suboptimal_pattern" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1232,7 +1232,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "2.4.4" +version = "2.5.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 f8bbdcfa7..9d705cb70 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 = "2.4.4" +version = "2.5.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 855cf212f..6bff8bdcd 100644 --- a/examples/restriction/collapsible_unwrap/Cargo.toml +++ b/examples/restriction/collapsible_unwrap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "collapsible_unwrap" -version = "2.4.4" +version = "2.5.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 d2dfb028b..b57dbf7b0 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 = "2.4.4" +version = "2.5.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 41990a1dd..e94da07ca 100644 --- a/examples/restriction/env_literal/Cargo.toml +++ b/examples/restriction/env_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_literal" -version = "2.4.4" +version = "2.5.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 784bef3c1..c75e0fc08 100644 --- a/examples/restriction/inconsistent_qualification/Cargo.toml +++ b/examples/restriction/inconsistent_qualification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "inconsistent_qualification" -version = "2.4.4" +version = "2.5.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 dd98268f5..5adfb9d36 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 = "2.4.4" +version = "2.5.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 7c82881f2..dfa04a19c 100644 --- a/examples/restriction/overscoped_allow/Cargo.toml +++ b/examples/restriction/overscoped_allow/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "overscoped_allow" -version = "2.4.4" +version = "2.5.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 a0436a4df..0906f3581 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 = "2.4.4" +version = "2.5.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 4eac05943..11ebaee22 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 = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A ref-aware fork of `redundant_closure_for_method_calls`" edition = "2021" diff --git a/examples/restriction/suboptimal_pattern/Cargo.toml b/examples/restriction/suboptimal_pattern/Cargo.toml index c47f016d6..0efc7b441 100644 --- a/examples/restriction/suboptimal_pattern/Cargo.toml +++ b/examples/restriction/suboptimal_pattern/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "suboptimal_pattern" -version = "2.4.4" +version = "2.5.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 994f234aa..21e6d86c6 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 = "2.4.4" +version = "2.5.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 e7da6f541..4516e11f2 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -145,7 +145,7 @@ dependencies = [ [[package]] name = "commented_code" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -273,7 +273,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -308,7 +308,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -372,7 +372,7 @@ dependencies = [ [[package]] name = "escaping_doc_link" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -792,7 +792,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -994,7 +994,7 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" [[package]] name = "supplementary" -version = "2.4.4" +version = "2.5.0" dependencies = [ "commented_code", "dylint_linting", @@ -1206,7 +1206,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unnamed_constant" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1217,7 +1217,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1228,7 +1228,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index 798287585..138faca9c 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "2.4.4" +version = "2.5.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 fc2a6dcb0..dc1284541 100644 --- a/examples/supplementary/commented_code/Cargo.toml +++ b/examples/supplementary/commented_code/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "commented_code" -version = "2.4.4" +version = "2.5.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 31784f191..d74f05107 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 = "2.4.4" +version = "2.5.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/redundant_reference/Cargo.toml b/examples/supplementary/redundant_reference/Cargo.toml index 8d9572898..fa6192c7d 100644 --- a/examples/supplementary/redundant_reference/Cargo.toml +++ b/examples/supplementary/redundant_reference/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redundant_reference" -version = "2.4.4" +version = "2.5.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 2f14c7db2..98dd8f5d6 100644 --- a/examples/supplementary/unnamed_constant/Cargo.toml +++ b/examples/supplementary/unnamed_constant/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unnamed_constant" -version = "2.4.4" +version = "2.5.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 7fd17fcff..f70145b39 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 = "2.4.4" +version = "2.5.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 f98560653..7ce685b0e 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 = "2.4.4" +version = "2.5.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 74dc25de9..627d3fe7f 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -126,7 +126,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata 0.18.1", @@ -286,7 +286,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -305,7 +305,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata 0.18.1", "dylint_internal", @@ -334,7 +334,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata 0.18.1", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index 744392a60..37eb70d7e 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "All of the Clippy lints as a Dylint library" edition = "2021" diff --git a/examples/testing/straggler/Cargo.lock b/examples/testing/straggler/Cargo.lock index 647d1252f..65c87cd33 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -222,7 +222,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -241,7 +241,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "ansi_term", "anyhow", @@ -257,7 +257,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -270,7 +270,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", "cargo_metadata", @@ -871,7 +871,7 @@ dependencies = [ [[package]] name = "straggler" -version = "2.4.4" +version = "2.5.0" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index d287e7c0f..dd88bb4eb 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "A lint that uses an old toolchain for testing purposes" edition = "2021" diff --git a/internal/Cargo.toml b/internal/Cargo.toml index e84d44609..d69bdf00a 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index e618e40c3..9b642181c 100644 --- a/internal/template/Cargo.toml~ +++ b/internal/template/Cargo.toml~ @@ -11,11 +11,11 @@ crate-type = ["cdylib"] [dependencies] clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "b105fb4c39bc1a010807a6c076193cef8d93c109" } -dylint_linting = "2.4.4" +dylint_linting = "2.5.0" if_chain = "1.0.2" [dev-dependencies] -dylint_testing = "2.4.4" +dylint_testing = "2.5.0" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index 5ce7a949f..bdbd99da3 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -86,14 +86,14 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "2.4.4" +version = "2.5.0" dependencies = [ "anyhow", ] [[package]] name = "dylint_linting" -version = "2.4.4" +version = "2.5.0" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index d77b46364..32e1c052c 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "2.4.4" +version = "2.5.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 = "=2.4.4", path = "../../internal" } +dylint_internal = { version = "=2.5.0", path = "../../internal" } [build-dependencies] toml = "0.8" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index f5b69d8d5..0e2bc6152 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "2.4.4" +version = "2.5.0" authors = ["Samuel E. Moelius III "] description = "Utilities for testing Dylint libraries" edition = "2021" @@ -17,5 +17,5 @@ regex = "1.10" serde_json = "1.0" tempfile = "3.8" -dylint = { version = "=2.4.4", path = "../../dylint", default-features = false } -dylint_internal = { version = "=2.4.4", path = "../../internal" } +dylint = { version = "=2.5.0", path = "../../dylint", default-features = false } +dylint_internal = { version = "=2.5.0", path = "../../internal" }