From b241bb9cb7a707da363e0605fa6dd005dc6d2285 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 17 Aug 2021 19:16:20 -0400 Subject: [PATCH] Adding script to upgrade deps, and check for unused ones. --- scripts/upgrade_deps.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/upgrade_deps.sh diff --git a/scripts/upgrade_deps.sh b/scripts/upgrade_deps.sh new file mode 100755 index 000000000..90adb896f --- /dev/null +++ b/scripts/upgrade_deps.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +pushd ../ + +# Check unused deps +cargo udeps --all-targets + +# Upgrade deps +cargo upgrade --workspace + +# Run check +cargo check + +popd