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/%24%7BgetStaticDir%28%29%7D/styles/%7B%60/feeds/c/%24%7Bthis.state.communityName%7D.xml?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