diff --git a/CHANGELOG.md b/CHANGELOG.md index de8256aea..033dcc3de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.1.0 + +- Allow library packages to be specified in a dylint.toml file instead of a Cargo.toml file. The syntax is exactly the same. Thus, users wishing to switch can simply cut-and-paste the `[workspace.metadata.dylint.libraries]` declaration from their Cargo.toml file into a dylint.toml file. ([#1143](https://github.com/trailofbits/dylint/issues/1143) and [#1151](https://github.com/trailofbits/dylint/issues/1151)) + ## 3.0.1 - Address [rust-lang/rust#122450](https://github.com/rust-lang/rust/pull/122450) ([9add993](https://github.com/trailofbits/dylint/commit/9add9935d34bc58c425b5b1be0e9227c4b1f54b1)) diff --git a/Cargo.lock b/Cargo.lock index 6804b2208..9e05a156d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -820,7 +820,7 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -854,7 +854,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -869,7 +869,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -896,7 +896,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -1025,7 +1025,7 @@ dependencies = [ [[package]] name = "examples" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo-util", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index 9b770c3e4..ab189a3cf 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "3.0.1" +version = "3.1.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.0.1", path = "../dylint", features = [ +dylint = { version = "=3.1.0", path = "../dylint", features = [ "package_options", ] } -dylint_internal = { version = "=3.0.1", path = "../internal" } +dylint_internal = { version = "=3.1.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" @@ -38,7 +38,7 @@ similar-asserts = "1.5" tempfile = "3.10" walkdir = "2.5" -dylint_internal = { version = "=3.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "testing", ] } diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 03fdbe613..75dd11743 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "dylint_internal", @@ -30,7 +30,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "log", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index bbb6a2aeb..fc153d15a 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "3.0.1" +version = "3.1.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.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "rustup", ] } diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index c1d36ec87..23126abb0 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "3.0.1" +version = "3.1.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.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "cargo", ] } [build-dependencies] -dylint_internal = { version = "=3.0.1", path = "../internal" } +dylint_internal = { version = "=3.1.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.1" tempfile = "3.10" -dylint_internal = { version = "=3.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "packaging", ] } diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index cb3a51aff..ea1b77dc9 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "3.0.1" +version = "3.1.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -42,7 +42,7 @@ curl-sys = { version = "0.4", features = [ "force-system-lib-on-osx", ], optional = true } -dylint_internal = { version = "=3.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "config", "git", "packaging", @@ -51,14 +51,14 @@ dylint_internal = { version = "=3.0.1", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=3.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.11" -dylint_internal = { version = "=3.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "examples", ] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index c501ec920..87cf7062f 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "3.0.1" +version = "3.1.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.0.1", path = "../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../internal", features = [ "clippy_utils", "examples", ] } diff --git a/examples/experimental/derive_opportunity/Cargo.lock b/examples/experimental/derive_opportunity/Cargo.lock index f45c5b112..510632f8d 100644 --- a/examples/experimental/derive_opportunity/Cargo.lock +++ b/examples/experimental/derive_opportunity/Cargo.lock @@ -230,7 +230,7 @@ dependencies = [ [[package]] name = "derive_opportunity" -version = "3.0.1" +version = "3.1.0" dependencies = [ "bitflags 2.5.0", "clippy_utils", @@ -302,7 +302,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -355,7 +355,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/experimental/derive_opportunity/Cargo.toml b/examples/experimental/derive_opportunity/Cargo.toml index ba9d53b95..afb37591d 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.0.1" +version = "3.1.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 a1c2497f9..1dcdf96ff 100644 --- a/examples/experimental/missing_doc_comment_openai/Cargo.lock +++ b/examples/experimental/missing_doc_comment_openai/Cargo.lock @@ -318,7 +318,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -337,7 +337,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -358,7 +358,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -371,7 +371,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -694,7 +694,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "3.0.1" +version = "3.1.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 6413daef6..f7b1249ae 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.0.1" +version = "3.1.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 dbd1be2b8..11e0f5301 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "abs_home_path" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -109,7 +109,7 @@ dependencies = [ [[package]] name = "await_holding_span_guard" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -119,7 +119,7 @@ dependencies = [ [[package]] name = "basic_dead_store" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -267,7 +267,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "3.0.1" +version = "3.1.0" dependencies = [ "assert_cmd", "cargo_metadata", @@ -370,7 +370,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -389,7 +389,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -511,7 +511,7 @@ dependencies = [ [[package]] name = "general" -version = "3.0.1" +version = "3.1.0" dependencies = [ "abs_home_path", "await_holding_span_guard", @@ -627,7 +627,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "incorrect_matches_operation" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "3.0.1" +version = "3.1.0" dependencies = [ "bitflags 2.5.0", "clippy_utils", @@ -783,7 +783,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1562,7 +1562,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index 35d9d924d..8785abb31 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "3.0.1" +version = "3.1.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 26da16846..8961c2333 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.0.1" +version = "3.1.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 b4ee357ea..0173c94ca 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.0.1" +version = "3.1.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 2681fd79c..61eb32753 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.0.1" +version = "3.1.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 fd82c374b..e1102e1bf 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.0.1" +version = "3.1.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/incorrect_matches_operation/Cargo.toml b/examples/general/incorrect_matches_operation/Cargo.toml index b536131ce..e5997b815 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.0.1" +version = "3.1.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 36a4ab8e7..f758a51a8 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.0.1" +version = "3.1.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 fcb9e3284..a3663d284 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.0.1" +version = "3.1.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 a8af90eed..1e9d0a455 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.0.1" +version = "3.1.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 45188077b..34dbf778a 100644 --- a/examples/restriction/Cargo.lock +++ b/examples/restriction/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "assert_eq_arg_misordering" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -208,7 +208,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -247,7 +247,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "3.0.1" +version = "3.1.0" dependencies = [ "camino", "clippy_utils", @@ -377,7 +377,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -396,7 +396,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -430,7 +430,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -462,7 +462,7 @@ dependencies = [ [[package]] name = "env_literal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -635,7 +635,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "diesel", @@ -779,7 +779,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -831,7 +831,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -903,7 +903,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -943,7 +943,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1129,7 +1129,7 @@ dependencies = [ [[package]] name = "suboptimal_pattern" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1286,7 +1286,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "3.0.1" +version = "3.1.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 3cd6999ae..1ffda71cf 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.0.1" +version = "3.1.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 9e96027c2..2b9cfb9aa 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.0.1" +version = "3.1.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 5e4fe173d..d42cdc817 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.0.1" +version = "3.1.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 1b3465162..314090f50 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.0.1" +version = "3.1.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 1baa26bca..b767aa49a 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.0.1" +version = "3.1.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 9f2890d6b..8db4fc233 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.0.1" +version = "3.1.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 d21c67627..a2ab595dd 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.0.1" +version = "3.1.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 855f5879f..02810972a 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.0.1" +version = "3.1.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 7c648d0f1..ce0a88f63 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.0.1" +version = "3.1.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 0b495a6c7..0c0e16d32 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.0.1" +version = "3.1.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 03da191ae..dfc698db6 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.0.1" +version = "3.1.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 ac0fa7df6..29584d139 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -212,7 +212,7 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "commented_code" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -383,7 +383,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -404,7 +404,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -478,7 +478,7 @@ dependencies = [ [[package]] name = "escaping_doc_link" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -754,7 +754,7 @@ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "local_ref_cell" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -908,7 +908,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1100,7 +1100,7 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" [[package]] name = "supplementary" -version = "3.0.1" +version = "3.1.0" dependencies = [ "commented_code", "dylint_linting", @@ -1328,7 +1328,7 @@ checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" [[package]] name = "unnamed_constant" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1338,7 +1338,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1348,7 +1348,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index f0e838133..f0322e5fc 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "3.0.1" +version = "3.1.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 edd82dd98..335d6f154 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.0.1" +version = "3.1.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 a10caf3da..fa66aeffc 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.0.1" +version = "3.1.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 06d1ecbfb..7b5af1552 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.0.1" +version = "3.1.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 81518f656..9d704f574 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.0.1" +version = "3.1.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 76cffec77..069f97b6c 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.0.1" +version = "3.1.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 456ef3b3e..86efa8872 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.0.1" +version = "3.1.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 2b4d0c988..7dc13abd0 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.0.1" +version = "3.1.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 5764a099b..25f3085f8 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -162,7 +162,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -339,7 +339,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -358,7 +358,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -392,7 +392,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index 1e78c5f69..88a8c6ba8 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "3.0.1" +version = "3.1.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 b2c4d1ddd..3949415bf 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.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -147,7 +147,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -380,7 +380,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "marker" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "bumpalo", diff --git a/examples/testing/marker/Cargo.toml b/examples/testing/marker/Cargo.toml index 8b448e10c..23f252c8b 100644 --- a/examples/testing/marker/Cargo.toml +++ b/examples/testing/marker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marker" -version = "3.0.1" +version = "3.1.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 058ae9db9..f575d4ab5 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -288,7 +288,7 @@ dependencies = [ [[package]] name = "dylint" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "ansi_term", "anyhow", @@ -328,7 +328,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -341,7 +341,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -936,7 +936,7 @@ dependencies = [ [[package]] name = "straggler" -version = "3.0.1" +version = "3.1.0" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index 3dbd01407..df7fb1395 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "3.0.1" +version = "3.1.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 8bc1fb454..062bc6919 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index 88df89e51..48c571aa5 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 = "9725c4a162502a02c1c67fdca6b797fe09b2b73c" } -dylint_linting = "3.0.1" +dylint_linting = "3.1.0" [dev-dependencies] -dylint_testing = "3.0.1" +dylint_testing = "3.1.0" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index 3487b4b97..88373d43f 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -98,7 +98,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "3.0.1" +version = "3.1.0" dependencies = [ "anyhow", "cargo_metadata", @@ -109,7 +109,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "3.0.1" +version = "3.1.0" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index d708fdf12..0d468a3c2 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "3.0.1" +version = "3.1.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.0.1", path = "../../internal", features = [ +dylint_internal = { version = "=3.1.0", path = "../../internal", features = [ "config", ] } diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index 17a5c0610..2b7fd8583 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "3.0.1" +version = "3.1.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.10" -dylint = { version = "=3.0.1", path = "../../dylint" } -dylint_internal = { version = "=3.0.1", path = "../../internal" } +dylint = { version = "=3.1.0", path = "../../dylint" } +dylint_internal = { version = "=3.1.0", path = "../../internal" } [features] default = []