You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [semver trick](https://github.com/dtolnay/semver-trick) has been
around for a while, but isn't widely used, however, recently
`webpki-roots` did use it for 0.26.11 -> 1.0.0, which means that every
crate with a dependency on it that banned duplicates needed to add a
skip. With this change, cargo-deny will detect if the only dependents of
a particular version are other versions of itself, skipping them
automatically.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
<!-- next-header -->
10
10
## [Unreleased] - ReleaseDate
11
+
### Changed
12
+
-[PR#773](https://github.com/EmbarkStudios/cargo-deny/pull/773) changed cargo-deny's duplicate detection to automatically ignore versions whose only dependent is another version of the same crate.
13
+
11
14
## [0.18.2] - 2025-03-10
12
15
### Added
13
16
-[PR#753](https://github.com/EmbarkStudios/cargo-deny/pull/753) resolved [#752](https://github.com/EmbarkStudios/cargo-deny/issues/752) by adding back the `advisories.unmaintained` config option. See the [docs](https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html#the-unmaintained-field-optional) for how it can be used. The default matches the current behavior, which is to error on any `unmaintained` advisory, but adding `unmaintained = "workspace"` to the `[advisories]` table will mean unmaintained advisories will only error if the crate is a direct dependency of your workspace.
0 commit comments