#!/bin/sh set -e # CARGO='nailing-cargo -u' maint/update-minimal-versions : ${CARGO:=cargo} test -f Cargo.lock.normal || cp Cargo.lock Cargo.lock.normal cp Cargo.lock.minimal Cargo.lock $CARGO +nightly update -Z minimal-versions $CARGO +nightly update -p openssl -p openssl-sys # -Z minimal-versions leaves this at 0.14.28 which is broken $CARGO +nightly update -p hyper --precise=0.14.7 cp Cargo.lock Cargo.lock.minimal mv Cargo.lock.normal Cargo.lock