File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
114114 done
115115 # Make sure that public Rust crates don't contain executables.
116116 failed_files=' '
117- metadata=$( cargo metadata --format-version=1 --all-features -- no-deps)
117+ metadata=$( cargo metadata --format-version=1 --no-deps)
118118 has_public_crate=' '
119119 for id in $( jq <<< " ${metadata}" ' .workspace_members[]' ) ; do
120120 pkg=$( jq <<< " ${metadata}" " .packages[] | select(.id == ${id} )" )
@@ -314,7 +314,7 @@ if [[ -f .cspell.json ]]; then
314314 if [[ " ${manifest_path} " != " Cargo.toml" ]] && ! grep -Eq ' \[workspace\]' " ${manifest_path} " ; then
315315 continue
316316 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)
318318 for id in $( jq <<< " ${metadata}" ' .workspace_members[]' ) ; do
319319 dependencies+=" $( jq <<< " ${metadata}" " .packages[] | select(.id == ${id} )" | jq -r ' .dependencies[].name' ) " $' \n '
320320 done
You can’t perform that action at this time.
0 commit comments