-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
163 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "cargo-dylint" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A tool for running Rust lints from dynamic libraries" | ||
edition = "2021" | ||
|
@@ -13,8 +13,8 @@ anyhow = { version = "1.0", features = ["backtrace"] } | |
clap = { version = "4.3", features = ["cargo", "derive", "wrap_help"] } | ||
env_logger = "0.10" | ||
|
||
dylint = { version = "=2.3.0", path = "../dylint", features = ["package_options"] } | ||
dylint_internal = { version = "=2.3.0", path = "../internal" } | ||
dylint = { version = "=2.4.0", path = "../dylint", features = ["package_options"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal" } | ||
|
||
[dev-dependencies] | ||
assert_cmd = "2.0" | ||
|
@@ -32,4 +32,4 @@ similar-asserts = "1.5" | |
tempfile = "3.8" | ||
walkdir = "2.4" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["testing"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["testing"] } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "dylint_driver" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "Dylint driver library" | ||
edition = "2021" | ||
|
@@ -15,7 +15,7 @@ log = "0.4" | |
rustversion = "1.0" | ||
serde_json = "1.0" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["rustup"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["rustup"] } | ||
|
||
[workspace] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "dylint-link" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A wrapper around Rust's default linker to help create Dyling libraries" | ||
edition = "2021" | ||
|
@@ -13,17 +13,17 @@ env_logger = "0.10" | |
if_chain = "1.0" | ||
toml_edit = "0.19" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["cargo"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["cargo"] } | ||
|
||
[build-dependencies] | ||
dylint_internal = { version = "=2.3.0", path = "../internal" } | ||
dylint_internal = { version = "=2.4.0", path = "../internal" } | ||
|
||
[dev-dependencies] | ||
assert_cmd = "2.0" | ||
predicates = "3.0" | ||
tempfile = "3.8" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["packaging"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["packaging"] } | ||
|
||
[target.'cfg(target_os = "windows")'.dependencies] | ||
cc = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "dylint" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A tool for running Rust lints from dynamic libraries" | ||
edition = "2021" | ||
|
@@ -30,15 +30,15 @@ tempfile = "3.8" | |
toml = { version = "0.7", optional = true } | ||
walkdir = "2.4" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["git", "packaging", "rustup", "sed"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["git", "packaging", "rustup", "sed"] } | ||
|
||
[build-dependencies] | ||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["cargo"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["cargo"] } | ||
|
||
[dev-dependencies] | ||
env_logger = "0.10" | ||
|
||
dylint_internal = { version = "=2.3.0", path = "../internal", features = ["examples"] } | ||
dylint_internal = { version = "=2.4.0", path = "../internal", features = ["examples"] } | ||
|
||
[features] | ||
default = ["metadata"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "general" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "General-purpose lints" | ||
edition = "2021" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "crate_wide_allow" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A lint to check for `#![allow(...)]` used at the crate level" | ||
edition = "2021" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "env_cargo_path" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A lint to check for `env!` applied to Cargo environment variables containing paths" | ||
edition = "2021" | ||
|
2 changes: 1 addition & 1 deletion
2
examples/general/non_local_effect_before_error_return/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "non_local_effect_before_error_return" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A lint to check for non-local effects before return of an error" | ||
edition = "2021" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "non_thread_safe_call_in_test" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A lint to check for non-thread-safe function calls in tests" | ||
edition = "2021" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "assert_eq_arg_misordering" | ||
version = "2.3.0" | ||
version = "2.4.0" | ||
authors = ["Samuel E. Moelius III <[email protected]>"] | ||
description = "A lint to check for `assert_eq!(actual, expected)`" | ||
edition = "2021" | ||
|
Oops, something went wrong.