From 39c8c67bf6237076b24915851f908d6da13c04b7 Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Sat, 24 Oct 2020 21:22:07 +0100 Subject: [PATCH] Justfile command to run cargo-udeps --- Justfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index c5e1e67..32d4da5 100644 --- a/Justfile +++ b/Justfile @@ -43,10 +43,16 @@ all-release: build-release test-release xtests-release cargo clippy # updates dependency versions, and checks for outdated ones -@update: +@update-deps: cargo update + command -v cargo-outdated >/dev/null || (echo "cargo-outdated not installed" && exit 1) cargo outdated +# lists unused dependencies +@unused-deps: + command -v cargo-udeps >/dev/null || (echo "cargo-udeps not installed" && exit 1) + cargo +nightly udeps + # prints versions of the necessary build tools @versions: rustc --version