From: Dessalines Date: Tue, 17 Aug 2021 23:16:20 +0000 (-0400) Subject: Adding script to upgrade deps, and check for unused ones. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/hacktivis.me/static/%24%7Bsrc%7D?a=commitdiff_plain;h=b241bb9cb7a707da363e0605fa6dd005dc6d2285;p=lemmy.git Adding script to upgrade deps, and check for unused ones. --- diff --git a/scripts/upgrade_deps.sh b/scripts/upgrade_deps.sh new file mode 100755 index 00000000..90adb896 --- /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