#!/usr/bin/env bash # # Upgrades all dependencies to the latest versions # set -eux ( cd src/quotes/tinkoff/api git checkout main git pull rm -f ../tinkoff.public.invest.api.contract.v1.rs ) command -v cargo-upgrade > /dev/null || cargo install cargo-edit cargo upgrade --pinned ignore --incompatible allow --exclude libsqlite3-sys cargo update cargo clean