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
This fixes an issue where crate sources were not being correctly
determined as crates.io when using cargo 1.85.0 due to the change in how
directory names are calculated, which would cause eg. workspace
dependency checks to fail.
The advisory databases no longer use tame_index to perform the directory
naming as it doesn't really make sense in the first place, so now it
just uses a similar method, but using xxhash instead which gives the
same properties as the cargo 1.85.0 change, namely that the hash is the
same for the same url regardless of the host platform
(endianness/pointer width/arch). It also now uses the last path
component as the start of the name which is a much nicer way to name the
directory.
This also updates to the rust-version to 1.85.0 and moves to edition
2024.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,13 @@ 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#746](https://github.com/EmbarkStudios/cargo-deny/pull/746) changed the directory naming of advisory databases, [again](https://github.com/EmbarkStudios/cargo-deny/pull/745), so the name uses the last path component and a different, but also stable, hashing algorithm. Eg. the default `https://github.com/rustsec/advisory-db` will now be placed in `$CARGO_HOME/advisory-dbs/advisory-db-3157b0e258782691`.
13
+
-[PR#746](https://github.com/EmbarkStudios/cargo-deny/pull/746) changed the MSRV to 1.85.0 and uses edition 2024.
14
+
15
+
### Fixed
16
+
-[PR#746](https://github.com/EmbarkStudios/cargo-deny/pull/746) fixes an issue when using cargo 1.85.0 where source urls were not being properly assigned to crates.io due to the constant being used no longer matching the new path used in cargo 1.85.0 causing eg. workspace dependency checks to fail.
17
+
11
18
## [0.17.0] - 2025-02-20
12
19
### Changed
13
20
-[PR#745](https://github.com/EmbarkStudios/cargo-deny/pull/745) updated `tame-index` to [0.18.0](https://github.com/EmbarkStudios/tame-index/releases/tag/0.18.0) so that cargo 1.85.0 is transparently supported along with older cargo versions.
0 commit comments