-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates krates to 0.16.10 to fix a bug originally filed on this repo, EmbarkStudios/krates#82. This bug meant that depending on the same crate multiple times by using different ``cfg()` expressions could cause crates that were pulled in by features to not be properly appended to the graph, and thus not checked by cargo-deny.
- Loading branch information
1 parent
8e4d61e
commit d3021f6
Showing
8 changed files
with
1,565 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/snapshots/bans__deny_target_specific_dependencies-2.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
source: tests/bans.rs | ||
expression: diags | ||
--- | ||
[] |
46 changes: 46 additions & 0 deletions
46
tests/snapshots/bans__deny_target_specific_dependencies-3.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
source: tests/bans.rs | ||
expression: diags | ||
--- | ||
[ | ||
{ | ||
"fields": { | ||
"code": "banned", | ||
"graphs": [ | ||
{ | ||
"Krate": { | ||
"name": "serde", | ||
"version": "1.0.197" | ||
}, | ||
"parents": [ | ||
{ | ||
"Krate": { | ||
"name": "smallvec", | ||
"version": "1.13.2" | ||
}, | ||
"parents": [ | ||
{ | ||
"Krate": { | ||
"name": "features", | ||
"version": "0.1.0" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"labels": [ | ||
{ | ||
"column": 6, | ||
"line": 3, | ||
"message": "banned here", | ||
"span": "serde" | ||
} | ||
], | ||
"message": "crate 'serde = 1.0.197' is explicitly banned", | ||
"severity": "error" | ||
}, | ||
"type": "diagnostic" | ||
} | ||
] |
46 changes: 46 additions & 0 deletions
46
tests/snapshots/bans__deny_target_specific_dependencies.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
source: tests/bans.rs | ||
expression: diags | ||
--- | ||
[ | ||
{ | ||
"fields": { | ||
"code": "banned", | ||
"graphs": [ | ||
{ | ||
"Krate": { | ||
"name": "serde", | ||
"version": "1.0.197" | ||
}, | ||
"parents": [ | ||
{ | ||
"Krate": { | ||
"name": "smallvec", | ||
"version": "1.13.2" | ||
}, | ||
"parents": [ | ||
{ | ||
"Krate": { | ||
"name": "features", | ||
"version": "0.1.0" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"labels": [ | ||
{ | ||
"column": 6, | ||
"line": 3, | ||
"message": "banned here", | ||
"span": "serde" | ||
} | ||
], | ||
"message": "crate 'serde = 1.0.197' is explicitly banned", | ||
"severity": "error" | ||
}, | ||
"type": "diagnostic" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.