if [[$(git status -uno -s | wc -l) != 0 ]]; then
echo "uncommited changes exist"
exit
else
cargo update
cargo outdated -v -w --exit-code 1 >.cargo_outdated.log
if [[$? == 1 ]]; then
echo "dependencies re not up to date in $PWD"
cat .cargo_outdated.log
fi
fi