#!/bin/bash
set -e

cargo install cargo-edit
cargo upgrade --dry-run --incompatible
cargo upgrade
cargo update
cargo set-version --bump patch