From 5c02be9bbb2bc841ab9b6769899269443208208b Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Thu, 28 Dec 2023 08:35:49 -0500 Subject: [PATCH] Bump version --- CHANGELOG.md | 4 +++ Cargo.lock | 12 ++++---- README.md | 12 ++++++++ cargo-dylint/Cargo.toml | 8 ++--- cargo-dylint/README.md | 12 ++++++++ driver/Cargo.lock | 4 +-- driver/Cargo.toml | 4 +-- dylint-link/Cargo.toml | 8 ++--- dylint/Cargo.toml | 8 ++--- dylint/README.md | 12 ++++++++ examples/Cargo.toml | 4 +-- .../derive_opportunity/Cargo.lock | 10 +++---- .../derive_opportunity/Cargo.toml | 2 +- .../missing_doc_comment_openai/Cargo.lock | 10 +++---- .../missing_doc_comment_openai/Cargo.toml | 2 +- examples/general/Cargo.lock | 24 +++++++-------- examples/general/Cargo.toml | 2 +- .../await_holding_span_guard/Cargo.toml | 2 +- examples/general/crate_wide_allow/Cargo.toml | 2 +- examples/general/env_cargo_path/Cargo.toml | 2 +- .../incorrect_matches_operation/Cargo.toml | 2 +- .../Cargo.toml | 2 +- .../non_thread_safe_call_in_test/Cargo.toml | 2 +- .../wrong_serialize_struct_arg/Cargo.toml | 2 +- examples/restriction/Cargo.lock | 30 +++++++++---------- .../assert_eq_arg_misordering/Cargo.toml | 2 +- .../restriction/collapsible_unwrap/Cargo.toml | 2 +- .../restriction/const_path_join/Cargo.toml | 2 +- examples/restriction/env_literal/Cargo.toml | 2 +- .../inconsistent_qualification/Cargo.toml | 2 +- .../misleading_variable_name/Cargo.toml | 2 +- .../restriction/overscoped_allow/Cargo.toml | 2 +- .../question_mark_in_expression/Cargo.toml | 2 +- .../Cargo.toml | 2 +- .../restriction/suboptimal_pattern/Cargo.toml | 2 +- examples/restriction/try_io_result/Cargo.toml | 2 +- examples/supplementary/Cargo.lock | 22 +++++++------- examples/supplementary/Cargo.toml | 2 +- .../supplementary/commented_code/Cargo.toml | 2 +- .../escaping_doc_link/Cargo.toml | 2 +- .../redundant_reference/Cargo.toml | 2 +- .../supplementary/unnamed_constant/Cargo.toml | 2 +- .../unnecessary_borrow_mut/Cargo.toml | 2 +- .../Cargo.toml | 2 +- examples/testing/clippy/Cargo.lock | 10 +++---- examples/testing/clippy/Cargo.toml | 2 +- examples/testing/marker/Cargo.lock | 6 ++-- examples/testing/marker/Cargo.toml | 2 +- examples/testing/straggler/Cargo.lock | 10 +++---- examples/testing/straggler/Cargo.toml | 2 +- internal/Cargo.toml | 2 +- internal/template/Cargo.toml~ | 4 +-- utils/linting/Cargo.lock | 4 +-- utils/linting/Cargo.toml | 4 +-- utils/testing/Cargo.toml | 6 ++-- 55 files changed, 166 insertions(+), 126 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb24e87de..b1261ec4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.6.0 + +- Add experimental `metadata-cli` feature ([#926](https://github.com/trailofbits/dylint/pull/926) and [#976](https://github.com/trailofbits/dylint/pull/976)) + ## 2.5.0 - Allow the `list` subcommand to accept `--manifest-path` options ([#951](https://github.com/trailofbits/dylint/pull/951)) diff --git a/Cargo.lock b/Cargo.lock index ed5ba2e1e..745ab5f05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "assert_cmd", @@ -818,7 +818,7 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -851,7 +851,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "assert_cmd", @@ -866,7 +866,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -889,7 +889,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -1008,7 +1008,7 @@ dependencies = [ [[package]] name = "examples" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo-util", "cargo_metadata", diff --git a/README.md b/README.md index 7a25f73f9..8a3609db9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ # Dylint +**News:** Dylint has a new, experimental method for downloading packages. Please consider trying it by installing `cargo-dylint` with the following command: + +```sh +cargo install cargo-dylint --no-default-features --features=metadata-cli +``` + +The new method requires fewer dependencies, which will make Dylint easier to maintain. Plus, it should install faster. + +The original README follows. + +--- + A tool for running Rust lints from dynamic libraries ```sh diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index 4a3b9fe71..f6d0aab41 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "2.5.0" +version = "2.6.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -13,10 +13,10 @@ anyhow = { version = "1.0", features = ["backtrace"] } clap = { version = "4.4", features = ["cargo", "derive", "wrap_help"] } env_logger = "0.10" -dylint = { version = "=2.5.0", path = "../dylint", features = [ +dylint = { version = "=2.6.0", path = "../dylint", features = [ "package_options", ], default-features = false } -dylint_internal = { version = "=2.5.0", path = "../internal" } +dylint_internal = { version = "=2.6.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" @@ -34,7 +34,7 @@ similar-asserts = "1.5" tempfile = "3.9" walkdir = "2.4" -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "testing", ] } diff --git a/cargo-dylint/README.md b/cargo-dylint/README.md index bba8075d0..34cb235a6 100644 --- a/cargo-dylint/README.md +++ b/cargo-dylint/README.md @@ -1,5 +1,17 @@ # Dylint +**News:** Dylint has a new, experimental method for downloading packages. Please consider trying it by installing `cargo-dylint` with the following command: + +```sh +cargo install cargo-dylint --no-default-features --features=metadata-cli +``` + +The new method requires fewer dependencies, which will make Dylint easier to maintain. Plus, it should install faster. + +The original README follows. + +--- + A tool for running Rust lints from dynamic libraries ```sh diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 4354f5037..1c9791b13 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "dylint_internal", @@ -29,7 +29,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "log", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 9570d6d41..e9e527212 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "2.5.0" +version = "2.6.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.5.0", path = "../internal", features = ["rustup"] } +dylint_internal = { version = "=2.6.0", path = "../internal", features = ["rustup"] } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index f699b54a0..8d7ab5cf6 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "2.5.0" +version = "2.6.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.10" if_chain = "1.0" toml_edit = "0.21" -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "cargo", ] } [build-dependencies] -dylint_internal = { version = "=2.5.0", path = "../internal" } +dylint_internal = { version = "=2.6.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.0" tempfile = "3.9" -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "packaging", ] } diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index 34534c21e..cf6cb3c58 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "2.5.0" +version = "2.6.0" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2021" @@ -41,7 +41,7 @@ curl-sys = { version = "0.4", features = [ "force-system-lib-on-osx", ], optional = true } -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "git", "packaging", "rustup", @@ -49,14 +49,14 @@ dylint_internal = { version = "=2.5.0", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.10" -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "examples", ] } diff --git a/dylint/README.md b/dylint/README.md index bba8075d0..34cb235a6 100644 --- a/dylint/README.md +++ b/dylint/README.md @@ -1,5 +1,17 @@ # Dylint +**News:** Dylint has a new, experimental method for downloading packages. Please consider trying it by installing `cargo-dylint` with the following command: + +```sh +cargo install cargo-dylint --no-default-features --features=metadata-cli +``` + +The new method requires fewer dependencies, which will make Dylint easier to maintain. Plus, it should install faster. + +The original README follows. + +--- + A tool for running Rust lints from dynamic libraries ```sh diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 4dd9468bd..b71c21bc3 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "2.5.0" +version = "2.6.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.21" walkdir = "2.4" -dylint_internal = { version = "=2.5.0", path = "../internal", features = [ +dylint_internal = { version = "=2.6.0", path = "../internal", features = [ "clippy_utils", "examples", ] } diff --git a/examples/experimental/derive_opportunity/Cargo.lock b/examples/experimental/derive_opportunity/Cargo.lock index 6c208cb3f..245a9d90e 100644 --- a/examples/experimental/derive_opportunity/Cargo.lock +++ b/examples/experimental/derive_opportunity/Cargo.lock @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "derive_opportunity" -version = "2.5.0" +version = "2.6.0" dependencies = [ "bitflags 2.4.1", "clippy_utils", @@ -248,7 +248,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -267,7 +267,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -297,7 +297,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/experimental/derive_opportunity/Cargo.toml b/examples/experimental/derive_opportunity/Cargo.toml index 668b47304..b1d503b0a 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.5.0" +version = "2.6.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 24bf1408a..b58d40c28 100644 --- a/examples/experimental/missing_doc_comment_openai/Cargo.lock +++ b/examples/experimental/missing_doc_comment_openai/Cargo.lock @@ -263,7 +263,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -299,7 +299,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -626,7 +626,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "2.5.0" +version = "2.6.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 8d3aec635..925d09ec5 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.5.0" +version = "2.6.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 43f6c77df..9c36ddf76 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "await_holding_span_guard" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -197,7 +197,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "2.5.0" +version = "2.6.0" dependencies = [ "assert_cmd", "cargo_metadata", @@ -290,7 +290,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -326,7 +326,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -339,7 +339,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -361,7 +361,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_cargo_path" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -427,7 +427,7 @@ dependencies = [ [[package]] name = "general" -version = "2.5.0" +version = "2.6.0" dependencies = [ "await_holding_span_guard", "crate_wide_allow", @@ -542,7 +542,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "incorrect_matches_operation" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -687,7 +687,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "2.5.0" +version = "2.6.0" dependencies = [ "bitflags 2.4.1", "clippy_utils", @@ -700,7 +700,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1467,7 +1467,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index a85075548..59861a8d2 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "2.5.0" +version = "2.6.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 c28b52cc6..3929be9c6 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.5.0" +version = "2.6.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 6baca4ed6..3e352d64e 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.5.0" +version = "2.6.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 60a287430..f96aad536 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.5.0" +version = "2.6.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 77e178c13..39b5d06b2 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.5.0" +version = "2.6.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 3cc1bb423..d1b9d9327 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.5.0" +version = "2.6.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 c2b22ecdb..1c2c5c26e 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.5.0" +version = "2.6.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 5a6c20555..a48daa063 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.5.0" +version = "2.6.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 9e3d14963..e6c4b52b7 100644 --- a/examples/restriction/Cargo.lock +++ b/examples/restriction/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "assert_eq_arg_misordering" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -166,7 +166,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -200,7 +200,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "2.5.0" +version = "2.6.0" dependencies = [ "camino", "clippy_utils", @@ -331,7 +331,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -367,7 +367,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -380,7 +380,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -402,7 +402,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_literal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -576,7 +576,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "diesel", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -775,7 +775,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "assert_cmd", @@ -849,7 +849,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -890,7 +890,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1086,7 +1086,7 @@ dependencies = [ [[package]] name = "suboptimal_pattern" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1254,7 +1254,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "2.5.0" +version = "2.6.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 9d705cb70..7da911d3f 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.5.0" +version = "2.6.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 6bff8bdcd..429890324 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.5.0" +version = "2.6.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 b57dbf7b0..93c6e3b91 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.5.0" +version = "2.6.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 e94da07ca..020e34950 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.5.0" +version = "2.6.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 c75e0fc08..3569d76fb 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.5.0" +version = "2.6.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 5adfb9d36..4907de300 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.5.0" +version = "2.6.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 bf94756d6..598dcf317 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.5.0" +version = "2.6.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 b73e2c0b9..8f24caba4 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.5.0" +version = "2.6.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 11ebaee22..c08a08ab9 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.5.0" +version = "2.6.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 0efc7b441..fd73e020c 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.5.0" +version = "2.6.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 21e6d86c6..8b2d08c1d 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.5.0" +version = "2.6.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 0e872a1cd..fc8d75128 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -156,7 +156,7 @@ dependencies = [ [[package]] name = "commented_code" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -303,7 +303,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -320,7 +320,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -333,7 +333,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -384,7 +384,7 @@ dependencies = [ [[package]] name = "escaping_doc_link" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -789,7 +789,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -991,7 +991,7 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" [[package]] name = "supplementary" -version = "2.5.0" +version = "2.6.0" dependencies = [ "commented_code", "dylint_linting", @@ -1228,7 +1228,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unnamed_constant" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1250,7 +1250,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index 6adaf83b2..59fd4a292 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "2.5.0" +version = "2.6.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 1d412bda8..b74d8dc63 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.5.0" +version = "2.6.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 eee9dc2e1..6cf46ff15 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.5.0" +version = "2.6.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 fa6192c7d..00edc1ed6 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.5.0" +version = "2.6.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 98dd8f5d6..7d86110bd 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.5.0" +version = "2.6.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 f70145b39..4f2736739 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.5.0" +version = "2.6.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 c8f00e221..984a34523 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.5.0" +version = "2.6.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 9bc59a631..b4428f4ec 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -127,7 +127,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata 0.18.1", @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -317,7 +317,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -334,7 +334,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata 0.18.1", "dylint_internal", @@ -347,7 +347,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata 0.18.1", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index b5a0e42c1..703d520e3 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "2.5.0" +version = "2.6.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 1031975f6..f98d7111f 100644 --- a/examples/testing/marker/Cargo.lock +++ b/examples/testing/marker/Cargo.lock @@ -133,7 +133,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -148,7 +148,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -381,7 +381,7 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "marker" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "bumpalo", diff --git a/examples/testing/marker/Cargo.toml b/examples/testing/marker/Cargo.toml index e9dead0c0..d55a1aa66 100644 --- a/examples/testing/marker/Cargo.toml +++ b/examples/testing/marker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marker" -version = "2.5.0" +version = "2.6.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 555758096..0938bb424 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -233,7 +233,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "ansi_term", "anyhow", @@ -269,7 +269,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "cargo_metadata", @@ -877,7 +877,7 @@ dependencies = [ [[package]] name = "straggler" -version = "2.5.0" +version = "2.6.0" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index f59bd968e..181e566dc 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "2.5.0" +version = "2.6.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 21ecbdaa7..ed75d4d1f 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index a59f885f4..67bca8c11 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 = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" } -dylint_linting = "2.5.0" +dylint_linting = "2.6.0" if_chain = "1.0.2" [dev-dependencies] -dylint_testing = "2.5.0" +dylint_testing = "2.6.0" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index c77427dee..2437ba1e0 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -86,14 +86,14 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", ] [[package]] name = "dylint_linting" -version = "2.5.0" +version = "2.6.0" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index 32e1c052c..4e8d73634 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "2.5.0" +version = "2.6.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.5.0", path = "../../internal" } +dylint_internal = { version = "=2.6.0", path = "../../internal" } [build-dependencies] toml = "0.8" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index 3f9c68adb..c885f23fe 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "2.5.0" +version = "2.6.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.9" -dylint = { version = "=2.5.0", path = "../../dylint", default-features = false } -dylint_internal = { version = "=2.5.0", path = "../../internal" } +dylint = { version = "=2.6.0", path = "../../dylint", default-features = false } +dylint_internal = { version = "=2.6.0", path = "../../internal" } [features] # smoelius: Make `deny_warnings` not a default with the next major version bump.