Skip to content

Releases: EmbarkStudios/cargo-deny

0.5.0

19 Dec 10:52
4a6349b
Compare
Choose a tag to compare

Added

  • Added the advisories check and configuration section for checking crates against an advisory database to detect security vulnerabilities, unmaintained crates, and crates with security notices
  • A warning will now be emitted if a crate that isn't in the graph is specified in [bans.skip-tree]

Fixed

  • PR#58 Fixed #55 to handle license requirements for GPL, AGPL, LGPL, and GFDL better. Thanks for reporting @pikajude!
  • PR#62 Fixed #56, the [metadata] section in Cargo.lock is now gone in nightly to improve merging, the previous reporting mechanism that required this section has been reworked.

Changed

  • The check subcommand now takes multiple values eg cargo deny check bans advisories
  • Specifying either cargo deny check or cargo deny check all will now run the additional advisories check
  • Previously, if you hadn't specified the [licenses] or [bans] section then running that check would have done nothing. Now if any section (including [advisories]) is not specified, the default configuration will be used.

Deprecated

  • check ban has been deprecated in favor of check bans
  • check license has been deprecated in favor of check licenses

0.4.2

03 Dec 09:02
8202d7b
Compare
Choose a tag to compare

Added

  • PR#48 Added an init subcommand to generate a cargo-deny template file with guiding comments. Thanks @foresterre!

0.4.1

28 Nov 10:02
e1c9347
Compare
Choose a tag to compare

Fixed

  • PR#46 Fixed issue where license-file was not being turned into an absolute path like the normal license file scanning, causing a crash. Thanks @foresterre!
  • Fixed an out of bounds panic when skipping a crate which wasn't present in the crate graph, that would have been sorted last if it had existed

0.4.0

07 Nov 18:48
24746d7
Compare
Choose a tag to compare

Changed

  • Replaced usage of failure with anyhow
  • Upgraded askalono and spdx to newer versions that both use version 3.7 of the SPDX license list
  • The embedded license list now uses zstd for compression resulting in smaller binary files and faster decompression.

0.3.0

30 Oct 17:44
bf00d7a
Compare
Choose a tag to compare

Added

  • Added [licenses.copyleft] config, which can be used to determine what happens when a copyleft license is encountered.
  • Added [bans.skip-tree] config, which can be used to skip entire subtrees of a dependency graph when considering duplicates

Fixed

  • Fixed displaying of duplicate errors in the presence of a skipped crate

0.3.0-beta

07 Oct 11:01
Compare
Choose a tag to compare
Release 0.3.0-beta

0.2.6

27 Jul 10:49
Compare
Choose a tag to compare
Release 0.2.6

0.2.5

01 Jul 13:22
Compare
Choose a tag to compare
Release 0.2.5

0.2.3

01 Jul 08:20
Compare
Choose a tag to compare
Release 0.2.3

0.2.2

28 Jun 14:18
Compare
Choose a tag to compare
Release 0.2.2