#!/usr/bin/env zsh
for file in $(git ls-files | grep Cargo.lock); do
(cd "$(dirname "$file")" && cargo update -wq)
git add $file
done