File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
114
114
done
115
115
# Make sure that public Rust crates don't contain executables.
116
116
failed_files=' '
117
- metadata=$( cargo metadata --format-version=1 --all-features -- no-deps)
117
+ metadata=$( cargo metadata --format-version=1 --no-deps)
118
118
has_public_crate=' '
119
119
for id in $( jq <<< " ${metadata}" ' .workspace_members[]' ) ; do
120
120
pkg=$( jq <<< " ${metadata}" " .packages[] | select(.id == ${id} )" )
@@ -314,7 +314,7 @@ if [[ -f .cspell.json ]]; then
314
314
if [[ " ${manifest_path} " != " Cargo.toml" ]] && ! grep -Eq ' \[workspace\]' " ${manifest_path} " ; then
315
315
continue
316
316
fi
317
- metadata=$( cargo metadata --format-version=1 --all-features -- no-deps --manifest-path " ${manifest_path} " )
317
+ metadata=$( cargo metadata --format-version=1 --no-deps --manifest-path " ${manifest_path} " )
318
318
for id in $( jq <<< " ${metadata}" ' .workspace_members[]' ) ; do
319
319
dependencies+=" $( jq <<< " ${metadata}" " .packages[] | select(.id == ${id} )" | jq -r ' .dependencies[].name' ) " $' \n '
320
320
done
You can’t perform that action at this time.
0 commit comments