check-each-crate: Do not reference crate to check by name (#2098)

This pull request changes how `check-each-crate.py` is working. Instead
of passing the name of the crate via `-p`, we now jump into the
directory of the crate and call there `cargo check`. This should fix
issues like https://github.com/paritytech/polkadot-sdk/issues/2013 where
a crate is present twice in the `Cargo.lock`.

Besides that it also changes `core/Cargo.toml` to not always pull in
bandersnatch.
This commit is contained in:
Bastian Köcher
2023-10-31 14:07:10 +01:00
committed by GitHub
parent d85c1d9117
commit 3ae86ae075
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ bench = false
default = [ "std" ]
std = [
"array-bytes",
"bandersnatch_vrfs/getrandom",
"bandersnatch_vrfs?/getrandom",
"bip39/rand",
"bip39/std",
"blake2/std",