We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee7b33 commit b2c48d0Copy full SHA for b2c48d0
contrib/test.sh
@@ -22,6 +22,15 @@ if cargo --version | grep nightly; then
22
NIGHTLY=true
23
fi
24
25
+# We should not have any duplicate dependencies. This catches mistakes made upgrading dependencies
26
+# in one crate and not in another (e.g. upgrade bitcoin_hashes in bitcoin but not in secp).
27
+duplicate_dependencies=$(cargo tree --target=all --all-features --duplicates | wc -l)
28
+if [ "$duplicate_dependencies" -ne 0 ]; then
29
+ echo "Dependency tree is broken, contains duplicates"
30
+ cargo tree --target=all --all-features --duplicates
31
+ exit 1
32
+fi
33
+
34
echo "********* Testing std *************"
35
# Test without any features other than std first
36
cargo test --verbose --no-default-features --features="std"
0 commit comments