diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d4a2bbc6..2b2934092 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.11 + +- Add experimental `--bisect` option ([#170](https://github.com/trailofbits/dylint/pull/170)) + ## 1.0.10 - Add `--fix` option ([#153](https://github.com/trailofbits/dylint/pull/153)) diff --git a/Cargo.lock b/Cargo.lock index 32622b800..07975d25b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,7 +171,7 @@ dependencies = [ [[package]] name = "cargo-dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "assert_cmd", @@ -499,7 +499,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -527,7 +527,7 @@ dependencies = [ [[package]] name = "dylint-link" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cc", @@ -538,7 +538,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -550,11 +550,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", diff --git a/cargo-dylint/Cargo.toml b/cargo-dylint/Cargo.toml index a66f18bea..51fcbe7a3 100644 --- a/cargo-dylint/Cargo.toml +++ b/cargo-dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-dylint" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2018" @@ -12,8 +12,8 @@ anyhow = "1.0.52" clap = { version = "3.0.0", features = ["cargo", "derive"] } env_logger = "0.9.0" -dylint = { version = "=1.0.10", path = "../dylint", features = ["dylint_driver_local", "package_options"] } -dylint_internal = { version = "=1.0.10", path = "../internal", features = ["git2"] } +dylint = { version = "=1.0.11", path = "../dylint", features = ["dylint_driver_local", "package_options"] } +dylint_internal = { version = "=1.0.11", path = "../internal", features = ["git2"] } [dev-dependencies] assert_cmd = "2.0.2" diff --git a/driver/Cargo.lock b/driver/Cargo.lock index 444a4d826..297febae1 100644 --- a/driver/Cargo.lock +++ b/driver/Cargo.lock @@ -56,7 +56,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dylint_driver" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "dylint_internal", @@ -67,7 +67,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", diff --git a/driver/Cargo.toml b/driver/Cargo.toml index 95e163a54..40bfa5a32 100644 --- a/driver/Cargo.toml +++ b/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_driver" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "Dylint driver library" edition = "2018" @@ -13,7 +13,7 @@ libloading = "0.7.2" log = "0.4.14" serde_json = "1.0.74" -dylint_internal = { version = "=1.0.10", path = "../internal" } +dylint_internal = { version = "=1.0.11", path = "../internal" } [workspace] diff --git a/dylint-link/Cargo.toml b/dylint-link/Cargo.toml index c84a2bc8d..a5560c13e 100644 --- a/dylint-link/Cargo.toml +++ b/dylint-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint-link" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A wrapper around Rust's default linker to help create Dyling libraries" edition = "2018" @@ -12,7 +12,7 @@ anyhow = "1.0.52" env_logger = "0.9.0" if_chain = "1.0.2" -dylint_internal = { version = "=1.0.10", path = "../internal" } +dylint_internal = { version = "=1.0.11", path = "../internal" } [target.'cfg(target_os = "windows")'.dependencies] cc = "1.0.72" diff --git a/dylint/Cargo.toml b/dylint/Cargo.toml index c4b7233c3..888f1751a 100644 --- a/dylint/Cargo.toml +++ b/dylint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A tool for running Rust lints from dynamic libraries" edition = "2018" @@ -28,7 +28,7 @@ serde_json = "1.0.74" tempfile = "3.2.0" walkdir = "2.3.2" -dylint_internal = { version = "=1.0.10", path = "../internal" } +dylint_internal = { version = "=1.0.11", path = "../internal" } [dev-dependencies] env_logger = "0.9.0" diff --git a/examples/allow_clippy/Cargo.lock b/examples/allow_clippy/Cargo.lock index 930d67071..0ffcde412 100644 --- a/examples/allow_clippy/Cargo.lock +++ b/examples/allow_clippy/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "allow_clippy" -version = "1.0.10" +version = "1.0.11" dependencies = [ "clippy_utils", "dylint_linting", @@ -174,7 +174,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -193,7 +193,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -204,11 +204,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", diff --git a/examples/allow_clippy/Cargo.toml b/examples/allow_clippy/Cargo.toml index d2246f24e..0242c5848 100644 --- a/examples/allow_clippy/Cargo.toml +++ b/examples/allow_clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "allow_clippy" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A tongue-in-cheek example of a Dylint library" edition = "2018" diff --git a/examples/clippy/Cargo.lock b/examples/clippy/Cargo.lock index 3e267ef8c..4b8a12af7 100644 --- a/examples/clippy/Cargo.lock +++ b/examples/clippy/Cargo.lock @@ -110,7 +110,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clippy" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata 0.14.1", @@ -228,7 +228,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -247,7 +247,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata 0.14.1", @@ -259,11 +259,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata 0.14.1", diff --git a/examples/clippy/Cargo.toml b/examples/clippy/Cargo.toml index 08685a337..dbbf49dd0 100644 --- a/examples/clippy/Cargo.toml +++ b/examples/clippy/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "All of the Clippy lints as a Dylint library" edition = "2018" diff --git a/examples/env_literal/Cargo.lock b/examples/env_literal/Cargo.lock index 7fcfcce9a..8b6cef634 100644 --- a/examples/env_literal/Cargo.lock +++ b/examples/env_literal/Cargo.lock @@ -160,7 +160,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -179,7 +179,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -190,11 +190,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -211,7 +211,7 @@ dependencies = [ [[package]] name = "env_literal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/env_literal/Cargo.toml b/examples/env_literal/Cargo.toml index 92194d874..c0b7e5f40 100644 --- a/examples/env_literal/Cargo.toml +++ b/examples/env_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "env_literal" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A lint to check for environment variables referred to with string literals" edition = "2018" diff --git a/examples/nonreentrant_function_in_test/Cargo.lock b/examples/nonreentrant_function_in_test/Cargo.lock index 8ba5e0597..473cbe2a2 100644 --- a/examples/nonreentrant_function_in_test/Cargo.lock +++ b/examples/nonreentrant_function_in_test/Cargo.lock @@ -160,7 +160,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -179,7 +179,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -190,11 +190,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -325,7 +325,7 @@ dependencies = [ [[package]] name = "nonreentrant_function_in_test" -version = "1.0.10" +version = "1.0.11" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/nonreentrant_function_in_test/Cargo.toml b/examples/nonreentrant_function_in_test/Cargo.toml index 875dee944..93c422d53 100644 --- a/examples/nonreentrant_function_in_test/Cargo.toml +++ b/examples/nonreentrant_function_in_test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nonreentrant_function_in_test" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A lint to check for nonreentrant functions in tests" edition = "2018" diff --git a/examples/path_separator_in_string_literal/Cargo.lock b/examples/path_separator_in_string_literal/Cargo.lock index 684fab787..9ab043410 100644 --- a/examples/path_separator_in_string_literal/Cargo.lock +++ b/examples/path_separator_in_string_literal/Cargo.lock @@ -160,7 +160,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -179,7 +179,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -190,11 +190,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -335,7 +335,7 @@ dependencies = [ [[package]] name = "path_separator_in_string_literal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "clippy_utils", "dylint_internal", diff --git a/examples/path_separator_in_string_literal/Cargo.toml b/examples/path_separator_in_string_literal/Cargo.toml index 107fa27c4..5bad7882d 100644 --- a/examples/path_separator_in_string_literal/Cargo.toml +++ b/examples/path_separator_in_string_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "path_separator_in_string_literal" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A lint to check for path separators in string literals" edition = "2018" diff --git a/examples/question_mark_in_expression/Cargo.lock b/examples/question_mark_in_expression/Cargo.lock index 7665697d4..32597209c 100644 --- a/examples/question_mark_in_expression/Cargo.lock +++ b/examples/question_mark_in_expression/Cargo.lock @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -194,7 +194,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -205,11 +205,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -487,7 +487,7 @@ dependencies = [ [[package]] name = "question_mark_in_expression" -version = "1.0.10" +version = "1.0.11" dependencies = [ "clippy_utils", "dylint_linting", diff --git a/examples/question_mark_in_expression/Cargo.toml b/examples/question_mark_in_expression/Cargo.toml index d3dcabbb3..4bd7296e5 100644 --- a/examples/question_mark_in_expression/Cargo.toml +++ b/examples/question_mark_in_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "question_mark_in_expression" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator in expressions" edition = "2018" diff --git a/examples/try_io_result/Cargo.lock b/examples/try_io_result/Cargo.lock index 028f51dc9..af30a5746 100644 --- a/examples/try_io_result/Cargo.lock +++ b/examples/try_io_result/Cargo.lock @@ -160,7 +160,7 @@ dependencies = [ [[package]] name = "dylint" -version = "1.0.10" +version = "1.0.11" dependencies = [ "ansi_term", "anyhow", @@ -179,7 +179,7 @@ dependencies = [ [[package]] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -190,11 +190,11 @@ dependencies = [ [[package]] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" [[package]] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "cargo_metadata", @@ -590,7 +590,7 @@ dependencies = [ [[package]] name = "try_io_result" -version = "1.0.10" +version = "1.0.11" dependencies = [ "anyhow", "clippy_utils", diff --git a/examples/try_io_result/Cargo.toml b/examples/try_io_result/Cargo.toml index 7b961ddbf..05f39888d 100644 --- a/examples/try_io_result/Cargo.toml +++ b/examples/try_io_result/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "try_io_result" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "A lint to check for the `?` operator applied to `std::io::Result`" edition = "2018" diff --git a/internal/Cargo.toml b/internal/Cargo.toml index 622344afa..4af4abf49 100644 --- a/internal/Cargo.toml +++ b/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_internal" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "Dylint internals" edition = "2018" diff --git a/utils/linting/Cargo.toml b/utils/linting/Cargo.toml index 6911150d4..2434ddcee 100644 --- a/utils/linting/Cargo.toml +++ b/utils/linting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_linting" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "Utilities for writing Dylint libraries" edition = "2018" diff --git a/utils/testing/Cargo.toml b/utils/testing/Cargo.toml index ef5f7740b..24ebeae9a 100644 --- a/utils/testing/Cargo.toml +++ b/utils/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dylint_testing" -version = "1.0.10" +version = "1.0.11" authors = ["Samuel E. Moelius III "] description = "Utilities for testing Dylint libraries" edition = "2018" @@ -18,8 +18,8 @@ regex = "1.5.4" serde_json = "1.0.74" tempfile = "3.2.0" -dylint = { version = "=1.0.10", path = "../../dylint", default-features = false } -dylint_internal = { version = "=1.0.10", path = "../../internal" } +dylint = { version = "=1.0.11", path = "../../dylint", default-features = false } +dylint_internal = { version = "=1.0.11", path = "../../internal" } [features] default = []