Releases: EmbarkStudios/cargo-deny
Releases Β· EmbarkStudios/cargo-deny
0.18.9
0.18.8
Fixed
- PR#814 now allows deprecated license identifiers if they are detected from text, which was broken in 0.18.7. Additionally, when a GNU license (GPL, AGPL, LGPL, GFDL) license is detected, it is always detected as the
-or-latervariant, arbitrarily chosen as it is impossible to distinguish between the variants for a particular license version. This means if the license detected is actually wrong (eg.GPL-3.0-or-lateris detected when the code is actually licensed underGPL-3.0-only), the license should instead be clarified to the correct one. Resolves #813.
0.18.7
0.18.6
0.18.5
0.18.4
Added
- PR#779 added the
--metadata-pathargument to use a cargo metadata JSON file instead of calling cargo metadata, resolving #777. - PR#782 added
sources.unused-allow-sourceto allow configuration of the lint level when a source is allowed but not used by any crate in the graph, closing #781.
Changed
- PR#786 changed the license check output.
/is no longer corrected toOR, and if the license expression is found in the package's manifest, that span is used in diagnostic messages instead of the synthesized manifest.
Fixed
- PR#786 resolved #784 by updating
spdxto a new version that forces all GNU licenses to be exactly equal when comparing license expressions to licensee expressions, which is incredibly pedantic, but means the license comparison is entirely in the hands of the user so that I no longer have to deal with GNU licenses.
0.18.3
0.18.2
Added
- PR#753 resolved #752 by adding back the
advisories.unmaintainedconfig option. See the docs for how it can be used. The default matches the current behavior, which is to error on anyunmaintainedadvisory, but addingunmaintained = "workspace"to the[advisories]table will mean unmaintained advisories will only error if the crate is a direct dependency of your workspace.
0.18.1
Fixed
- PR#749 updated
kratesto pull in the fix for EmbarkStudios/krates#100.
0.18.0
Changed
- PR#746 changed the directory naming of advisory databases, again, so the name uses the last path component and a different, but also stable, hashing algorithm. Eg. the default
https://github.com/rustsec/advisory-dbwill now be placed in$CARGO_HOME/advisory-dbs/advisory-db-3157b0e258782691. - PR#746 changed the MSRV to 1.85.0 and uses edition 2024.
Fixed
- PR#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.