Skip to content

Commit eeb6711

Browse files
authored
Fix erroneously pruned crates (#481)
* Don't fail license gathering if expression is made If _any_ license file failed the gather would fail, kind of defeating the purpose of being able to have multiple license files. The failures are now also added to the Ok if at least some expression was able to be procured, and those warnings/errors are now displayed in the diagnostic for the krate license. We also now include all of the files that were involved in synthesizing the expression for clarity * Bump krates to 0.12.5 * Update CHANGELOG * Tuple -> struct * Update snapshots
1 parent 48994c4 commit eeb6711

File tree

14 files changed

+485
-43
lines changed

14 files changed

+485
-43
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
<!-- next-header -->
1010
## [Unreleased] - ReleaseDate
11+
### Fixed
12+
- [PR#481](https://github.com/EmbarkStudios/cargo-deny/pull/481) bumped `krates` to 0.12.5 to fix an issue where features present (and enabled) for a crate could be remove if the index entry for the crate didn't contain that feature. The features are now merged to (hopefully) more accurately reflect the features that are "truly" available according to both the index and the actual crate manifest on disk.
13+
- [PR#481](https://github.com/EmbarkStudios/cargo-deny/pull/481) fixed an issue where gathering licenses from files would fail if any license file could not have its license determined, even if one or more license files _could_ be successfully identified. This now no longer fails, and the license files that fail to be identified are now shown as additional labels in any diagnostic that is shown for that crate's licenses.
14+
1115
## [0.13.4] - 2022-11-03
1216
### Fixed
1317
- [PR#477](https://github.com/EmbarkStudios/cargo-deny/pull/477) resolved [#476](https://github.com/EmbarkStudios/cargo-deny/issues/476) by replacing bad test code with the correct code.

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.

0 commit comments

Comments
 (0)