From 30cf1a544af51357d7a3d180352db5a075a9eaed Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Fri, 15 Mar 2024 00:43:52 +0000 Subject: [PATCH] Bump version --- CHANGELOG.md | 23 ++++++++++++++ Cargo.lock | 12 ++++---- cargo-dylint/Cargo.toml | 8 ++--- driver/Cargo.lock | 4 +-- driver/Cargo.toml | 4 +-- dylint-link/Cargo.toml | 8 ++--- dylint/Cargo.toml | 8 ++--- 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 | 26 ++++++++-------- examples/general/Cargo.toml | 2 +- .../await_holding_span_guard/Cargo.toml | 2 +- examples/general/basic_dead_store/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 ++-- 53 files changed, 151 insertions(+), 128 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8eaf9c7c..eca4f007e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 3.0.0 + +- Rename option `--path` to `--lib-path`. For the time being, `--path` will continue to work as before when used to refer to a file as opposed to a directory. ([e52da02](https://github.com/trailofbits/dylint/commit/e52da024fada4ff4b353ca2de86ed12499076972)) +- FEATURE: Add options `--git` and `--path` to allow naming library packages on the command line ([883e521](https://github.com/trailofbits/dylint/commit/883e5218734819d120c332e025aa726ab30dbd40)) +- BREAKING CHANGE: Make `metadata` no longer a default `dylint` package feature ([#1052](https://github.com/trailofbits/dylint/issues/1052)) (see also renaming of `metadata` below) +- BREAKING CHANGE: No longer pass `-D warnings` to rustc by default in `dylint_testing`. To retain the previous behavior, enable the `deny_warnings` feature. ([#1053](https://github.com/trailofbits/dylint/issues/1053)) +- BREAKING CHANGE: Rename the following package features ([42cb7a2](https://github.com/trailofbits/dylint/commit/42cb7a2d48b398f90bc5975c69f976f5fedd6c65)): + - `cargo-dylint` package: `metadata-cargo` -> `cargo-lib` (build library packages using `cargo` as a library) + - `cargo-dylint` package: `metadata-cli` -> `cargo-cli` (build library packages using the `cargo` executable) + - `dylint` package: `metadata` -> `library_packages` (enable library-package-related functionality, e.g., building them) +- BREAKING CHANGE: Remove the following deprecated options and their associated `Dylint` struct fields ([7fd2c4d](https://github.com/trailofbits/dylint/commit/7fd2c4d410eb0b7744f26c224e1eb3c23083e551)): + - `--allow-downgrade` (now part of the `upgrade` subcommand) + - `--bisect` (experimental and no longer deemed necessary) + - `--force` (renamed to `--allow-downgrade`) + - `--isolate` (now part of the `new` subcommand) + - `--list` (replaced with the `list` subcommand) + - `--new` (replaced with the `new` subcommand) + - `--rust-version` (now part of the `upgrade` subcommand) + - `--upgrade` (replaced with the `upgrade` subcommand) +- Update `cargo-dylint` MSRV to 1.74 ([965ebf5](https://github.com/trailofbits/dylint/commit/965ebf58d280db22a8143cbfbe88c17dea4f5617)) +- Eliminate reliance on `sedregex` ([#1079](https://github.com/trailofbits/dylint/issues/1079)) +- Make `cargo-cli` the default method for building library packages ([01aa9ba](https://github.com/trailofbits/dylint/commit/01aa9ba790ff15c3f3e20a71a455bee5424aff09)) + ## 2.6.1 - Fix two bugs ([#1014](https://github.com/trailofbits/dylint/issues/1014) and [#1021](https://github.com/trailofbits/dylint/issues/1021)) related to how warnings are displayed ([#1025](https://github.com/trailofbits/dylint/pull/1025)) diff --git a/Cargo.lock b/Cargo.lock index 595fcb4ff..7f5b40202 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -368,7 +368,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -819,7 +819,7 @@ checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -853,7 +853,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -892,7 +892,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -1011,7 +1011,7 @@ dependencies = [ [[package]] name = "examples" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo-util", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index 8c04ff2c9..86e3697f2 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "2.6.1" +version = "3.0.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.10" -dylint = { version = "=2.6.1", path = "../dylint", features = [ +dylint = { version = "=3.0.0", path = "../dylint", features = [ "package_options", ] } -dylint_internal = { version = "=2.6.1", path = "../internal" } +dylint_internal = { version = "=3.0.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 = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "testing", ] } diff --git a/driver/Cargo.lock b/driver/Cargo.lock index c2791f17a..bbe99c20e 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -16,7 +16,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "dylint_internal", @@ -29,7 +29,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "log", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 5afd380f5..d54f52db4 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "2.6.1" +version = "3.0.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.6.1", path = "../internal", features = ["rustup"] } +dylint_internal = { version = "=3.0.0", path = "../internal", features = ["rustup"] } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index 626e8b247..717dfd6ae 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "2.6.1" +version = "3.0.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.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "cargo", ] } [build-dependencies] -dylint_internal = { version = "=2.6.1", path = "../internal" } +dylint_internal = { version = "=3.0.0", path = "../internal" } [dev-dependencies] assert_cmd = "2.0" predicates = "3.1" tempfile = "3.10" -dylint_internal = { version = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "packaging", ] } diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index 96ad7a671..1c753a929 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "2.6.1" +version = "3.0.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 = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "git", "packaging", "rustup", @@ -50,14 +50,14 @@ dylint_internal = { version = "=2.6.1", path = "../internal", features = [ ] } [build-dependencies] -dylint_internal = { version = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "cargo", ] } [dev-dependencies] env_logger = "0.10" -dylint_internal = { version = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "examples", ] } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 3e742ede7..1d9bcf4ab 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "2.6.1" +version = "3.0.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.5" -dylint_internal = { version = "=2.6.1", path = "../internal", features = [ +dylint_internal = { version = "=3.0.0", path = "../internal", features = [ "clippy_utils", "examples", ] } diff --git a/examples/experimental/derive_opportunity/Cargo.lock b/examples/experimental/derive_opportunity/Cargo.lock index ef7be548c..401f24049 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.6.1" +version = "3.0.0" dependencies = [ "bitflags 2.4.2", "clippy_utils", @@ -247,7 +247,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -266,7 +266,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -297,7 +297,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/experimental/derive_opportunity/Cargo.toml b/examples/experimental/derive_opportunity/Cargo.toml index 412b6d4e1..93a0e0a67 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.6.1" +version = "3.0.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 7ba9822d6..3793374b5 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.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -300,7 +300,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -313,7 +313,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -627,7 +627,7 @@ dependencies = [ [[package]] name = "missing_doc_comment_openai" -version = "2.6.1" +version = "3.0.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 71226375a..19e6e8993 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.6.1" +version = "3.0.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 aaf2d248e..44c9b4662 100644 --- a/examples/general/Cargo.lock +++ b/examples/general/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "await_holding_span_guard" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -65,7 +65,7 @@ dependencies = [ [[package]] name = "basic_dead_store" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -206,7 +206,7 @@ dependencies = [ [[package]] name = "crate_wide_allow" -version = "2.6.1" +version = "3.0.0" dependencies = [ "assert_cmd", "cargo_metadata", @@ -309,7 +309,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -328,7 +328,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -346,7 +346,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -359,7 +359,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -381,7 +381,7 @@ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "env_cargo_path" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -446,7 +446,7 @@ dependencies = [ [[package]] name = "general" -version = "2.6.1" +version = "3.0.0" dependencies = [ "await_holding_span_guard", "basic_dead_store", @@ -562,7 +562,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "incorrect_matches_operation" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -706,7 +706,7 @@ dependencies = [ [[package]] name = "non_local_effect_before_error_return" -version = "2.6.1" +version = "3.0.0" dependencies = [ "bitflags 2.4.2", "clippy_utils", @@ -719,7 +719,7 @@ dependencies = [ [[package]] name = "non_thread_safe_call_in_test" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1494,7 +1494,7 @@ dependencies = [ [[package]] name = "wrong_serialize_struct_arg" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/general/Cargo.toml b/examples/general/Cargo.toml index 501087d0a..a1db7090c 100644 --- a/examples/general/Cargo.toml +++ b/examples/general/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "general" -version = "2.6.1" +version = "3.0.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 9287ee3a5..14396cc1b 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.6.1" +version = "3.0.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 075c28e2c..de78b1728 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 = "2.6.1" +version = "3.0.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 5b3e9174b..8855e9996 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.6.1" +version = "3.0.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 dc1a7cb24..46fcd7ef1 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.6.1" +version = "3.0.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 1c61b4034..17d784313 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.6.1" +version = "3.0.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 aa06d599d..843df54d5 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.6.1" +version = "3.0.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 e82db51e3..5db3baa83 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.6.1" +version = "3.0.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 4d70c410a..e5cf726e9 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.6.1" +version = "3.0.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 aac7d4494..787fd5d03 100644 --- a/examples/restriction/Cargo.lock +++ b/examples/restriction/Cargo.lock @@ -55,7 +55,7 @@ dependencies = [ [[package]] name = "assert_eq_arg_misordering" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "collapsible_unwrap" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -198,7 +198,7 @@ dependencies = [ [[package]] name = "const_path_join" -version = "2.6.1" +version = "3.0.0" dependencies = [ "camino", "clippy_utils", @@ -328,7 +328,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -347,7 +347,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -365,7 +365,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -378,7 +378,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -400,7 +400,7 @@ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "env_literal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -573,7 +573,7 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "inconsistent_qualification" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "diesel", @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "misleading_variable_name" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -770,7 +770,7 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "overscoped_allow" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "assert_cmd", @@ -842,7 +842,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -882,7 +882,7 @@ dependencies = [ [[package]] name = "ref_aware_redundant_closure_for_method_calls" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1068,7 +1068,7 @@ dependencies = [ [[package]] name = "suboptimal_pattern" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1234,7 +1234,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "2.6.1" +version = "3.0.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 64db378ce..2eba82c0f 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.6.1" +version = "3.0.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 6a7121095..61e95ad59 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.6.1" +version = "3.0.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 877c323e2..f55772977 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.6.1" +version = "3.0.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 5fc73a91b..35e873c7f 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.6.1" +version = "3.0.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 eb7d6682d..d1954de2a 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.6.1" +version = "3.0.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 5e7c64639..e6342938b 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.6.1" +version = "3.0.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 c33e263c7..1269dc532 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.6.1" +version = "3.0.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 a0902c699..51ecd64c9 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.6.1" +version = "3.0.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 5af61393d..adbab4ef3 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.6.1" +version = "3.0.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 1b0e52adf..6b9aa5d58 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.6.1" +version = "3.0.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 f10651dfe..7b44c0aa6 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.6.1" +version = "3.0.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 1f7eb3db2..b71ef4f0f 100644 --- a/examples/supplementary/Cargo.lock +++ b/examples/supplementary/Cargo.lock @@ -157,7 +157,7 @@ dependencies = [ [[package]] name = "commented_code" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -328,7 +328,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -346,7 +346,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -359,7 +359,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "escaping_doc_link" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo-util", "cargo_metadata", @@ -831,7 +831,7 @@ dependencies = [ [[package]] name = "redundant_reference" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1023,7 +1023,7 @@ checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" [[package]] name = "supplementary" -version = "2.6.1" +version = "3.0.0" dependencies = [ "commented_code", "dylint_linting", @@ -1259,7 +1259,7 @@ checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unnamed_constant" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", @@ -1269,7 +1269,7 @@ dependencies = [ [[package]] name = "unnecessary_borrow_mut" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", @@ -1279,7 +1279,7 @@ dependencies = [ [[package]] name = "unnecessary_conversion_for_trait" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/supplementary/Cargo.toml b/examples/supplementary/Cargo.toml index c1b00c675..816cf912c 100644 --- a/examples/supplementary/Cargo.toml +++ b/examples/supplementary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "supplementary" -version = "2.6.1" +version = "3.0.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 2e643af02..83f059ae4 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.6.1" +version = "3.0.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 9904d59ad..073209355 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.6.1" +version = "3.0.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 aaced2e77..883ba0d50 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.6.1" +version = "3.0.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 25d1ab088..362052d46 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.6.1" +version = "3.0.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 6e2002717..e234e23ca 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.6.1" +version = "3.0.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 cf0a365cf..f04739a32 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.6.1" +version = "3.0.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 44e65bcc8..3016cbcfb 100644 --- a/examples/testing/clippy/Cargo.lock +++ b/examples/testing/clippy/Cargo.lock @@ -113,7 +113,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -303,7 +303,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -334,7 +334,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/testing/clippy/Cargo.toml b/examples/testing/clippy/Cargo.toml index e4a1a92b5..5487cd4c1 100644 --- a/examples/testing/clippy/Cargo.toml +++ b/examples/testing/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "2.6.1" +version = "3.0.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 3006fd42e..47bd5e6bd 100644 --- a/examples/testing/marker/Cargo.lock +++ b/examples/testing/marker/Cargo.lock @@ -127,7 +127,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -143,7 +143,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -376,7 +376,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "marker" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "bumpalo", diff --git a/examples/testing/marker/Cargo.toml b/examples/testing/marker/Cargo.toml index f55230507..72a3667f7 100644 --- a/examples/testing/marker/Cargo.toml +++ b/examples/testing/marker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marker" -version = "2.6.1" +version = "3.0.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 bc2f9faaf..282b0423b 100644 --- a/examples/testing/straggler/Cargo.lock +++ b/examples/testing/straggler/Cargo.lock @@ -233,7 +233,7 @@ dependencies = [ [[package]] name = "dylint" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "ansi_term", "anyhow", @@ -270,7 +270,7 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "cargo_metadata", "dylint_internal", @@ -283,7 +283,7 @@ dependencies = [ [[package]] name = "dylint_testing" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", "cargo_metadata", @@ -869,7 +869,7 @@ dependencies = [ [[package]] name = "straggler" -version = "2.6.1" +version = "3.0.0" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/testing/straggler/Cargo.toml b/examples/testing/straggler/Cargo.toml index 597e3849b..09c01b0a4 100644 --- a/examples/testing/straggler/Cargo.toml +++ b/examples/testing/straggler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "straggler" -version = "2.6.1" +version = "3.0.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 9c6625b69..693d97ba9 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2021" diff --git a/internal/template/Cargo.toml~ b/internal/template/Cargo.toml~ index 2340d96cd..4a9cba2a4 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 = "60cb29c5e4f9772685c9873752196725c946a849" } -dylint_linting = "2.6.1" +dylint_linting = "3.0.0" [dev-dependencies] -dylint_testing = "2.6.1" +dylint_testing = "3.0.0" [workspace] diff --git a/utils/linting/Cargo.lock b/utils/linting/Cargo.lock index a01c6278a..94af69637 100644 --- a/utils/linting/Cargo.lock +++ b/utils/linting/Cargo.lock @@ -86,14 +86,14 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint_internal" -version = "2.6.1" +version = "3.0.0" dependencies = [ "anyhow", ] [[package]] name = "dylint_linting" -version = "2.6.1" +version = "3.0.0" dependencies = [ "assert_cmd", "cargo_metadata", diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index 266e79bf7..a1795159a 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "2.6.1" +version = "3.0.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.6.1", path = "../../internal" } +dylint_internal = { version = "=3.0.0", path = "../../internal" } [build-dependencies] toml = "0.8" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index 1c0dfbf44..29ca6c892 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "2.6.1" +version = "3.0.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 = "=2.6.1", path = "../../dylint" } -dylint_internal = { version = "=2.6.1", path = "../../internal" } +dylint = { version = "=3.0.0", path = "../../dylint" } +dylint_internal = { version = "=3.0.0", path = "../../internal" } [features] default = []