Skip to content

Commit 99c5bce

Browse files
committed
Bump version
1 parent 0a9c2d5 commit 99c5bce

File tree

60 files changed

+148
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+148
-144
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.0.0
4+
5+
- BREAKING CHANGE: Work with [Cargo's new hashing algorithm](https://github.com/rust-lang/cargo/pull/14917), introduced with Rust 1.85.0. `cargo-dylint` 4 does not work with Cargo 1.84.x and earlier, and `cargo-dylint` 3.x does not work with Cargo 1.85.0. If you need to use Cargo 1.84.x or earlier, please continue to use `cargo-dylint` 3.x. If you have a long term need to use Cargo 1.84.x or earlier, please [open an issue](https://github.com/trailofbits/dylint/issues). ([#1534](https://github.com/trailofbits/dylint/pull/1534))
6+
37
## 3.5.1
48

59
- Have `cargo metadata` and `cargo fetch` use the same `cargo` when building library packages. Using different `cargo`s caused the two commands to refer to different subdirectories within the user's `CARGO_HOME`, leading to "Could not determine accessed subdirectory" errors. This bug primarily affected projects with `rust-toolchain` files. ([#1519](https://github.com/trailofbits/dylint/pull/1519))

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-dylint/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-dylint"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
authors = ["Samuel E. Moelius III <[email protected]>"]
55
description = "A tool for running Rust lints from dynamic libraries"
66
edition = "2021"
@@ -16,10 +16,10 @@ anyhow = { workspace = true, features = ["backtrace"] }
1616
clap = { workspace = true, features = ["cargo", "derive", "wrap_help"] }
1717
env_logger = { workspace = true }
1818

19-
dylint = { version = "=3.5.1", path = "../dylint", features = [
19+
dylint = { version = "=4.0.0", path = "../dylint", features = [
2020
"package_options",
2121
] }
22-
dylint_internal = { version = "=3.5.1", path = "../internal" }
22+
dylint_internal = { version = "=4.0.0", path = "../internal" }
2323

2424
[dev-dependencies]
2525
assert_cmd = { workspace = true }
@@ -36,7 +36,7 @@ similar-asserts = { workspace = true }
3636
tempfile = { workspace = true }
3737
walkdir = { workspace = true }
3838

39-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
39+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
4040
"examples",
4141
"testing",
4242
] }

driver/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

driver/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dylint_driver"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
authors = ["Samuel E. Moelius III <[email protected]>"]
55
description = "Dylint driver library"
66
edition = "2021"
@@ -15,7 +15,7 @@ log = "0.4"
1515
rustversion = "1.0"
1616
serde_json = "1.0"
1717

18-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
18+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
1919
"rustup",
2020
] }
2121

dylint-link/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dylint-link"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
authors = ["Samuel E. Moelius III <[email protected]>"]
55
description = "A wrapper around Rust's default linker to help create Dyling libraries"
66
edition = "2021"
@@ -13,19 +13,19 @@ env_logger = { workspace = true }
1313
if_chain = { workspace = true }
1414
toml_edit = { workspace = true }
1515

16-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
16+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
1717
"cargo",
1818
] }
1919

2020
[build-dependencies]
21-
dylint_internal = { version = "=3.5.1", path = "../internal" }
21+
dylint_internal = { version = "=4.0.0", path = "../internal" }
2222

2323
[dev-dependencies]
2424
assert_cmd = { workspace = true }
2525
predicates = { workspace = true }
2626
tempfile = { workspace = true }
2727

28-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
28+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
2929
"packaging",
3030
] }
3131

dylint/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dylint"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
authors = ["Samuel E. Moelius III <[email protected]>"]
55
description = "A tool for running Rust lints from dynamic libraries"
66
edition = "2021"
@@ -44,7 +44,7 @@ toml = { workspace = true, optional = true }
4444
url = { workspace = true, optional = true }
4545
walkdir = { workspace = true }
4646

47-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
47+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
4848
"config",
4949
"git",
5050
"packaging",
@@ -53,14 +53,14 @@ dylint_internal = { version = "=3.5.1", path = "../internal", features = [
5353
] }
5454

5555
[build-dependencies]
56-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
56+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
5757
"cargo",
5858
] }
5959

6060
[dev-dependencies]
6161
env_logger = { workspace = true }
6262

63-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
63+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
6464
"examples",
6565
] }
6666

examples/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dylint_examples"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
description = "A dummy package for testing the example Dylint libraries"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
@@ -12,7 +12,7 @@ cargo_metadata = { workspace = true }
1212
toml_edit = { workspace = true }
1313
walkdir = { workspace = true }
1414

15-
dylint_internal = { version = "=3.5.1", path = "../internal", features = [
15+
dylint_internal = { version = "=4.0.0", path = "../internal", features = [
1616
"clippy_utils",
1717
"examples",
1818
] }

examples/experimental/derive_opportunity/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/experimental/derive_opportunity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "derive_opportunity"
3-
version = "3.5.1"
3+
version = "4.0.0"
44
authors = ["Samuel E. Moelius III <[email protected]>"]
55
description = "A lint to check for traits that could be derived"
66
edition = "2021"

0 commit comments

Comments
 (0)