File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ static EXCEPTIONS: &'static [&'static str] = &[
51
51
// Whitelist of crates rustc is allowed to depend on. Avoid adding to the list if possible.
52
52
static WHITELIST : & ' static [ ( & ' static str , & ' static str ) ] = & [ ] ;
53
53
54
- // Some type for Serde to deserialize the output of `cargo metadata` to...
54
+ // Some types for Serde to deserialize the output of `cargo metadata` to...
55
55
56
56
#[ derive( Deserialize ) ]
57
57
struct Output {
@@ -151,6 +151,7 @@ fn extract_license(line: &str) -> String {
151
151
}
152
152
}
153
153
154
+ /// Get the dependencies of the crate at the given path using `cargo metadata`.
154
155
fn get_deps ( path : & Path ) -> Vec < Package > {
155
156
// Run `cargo metadata` to get the set of dependencies
156
157
let output = Command :: new ( "cargo" )
You can’t perform that action at this time.
0 commit comments