summaryrefslogtreecommitdiff
path: root/maint/downgrade_dependencies
blob: 59a24e61740c64ed55859d7f9c509ba856f9377f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# Downgrades every one of our dependencies in Cargo.lock to the
# earliest version listed in our Cargo.toml files.  (And then
# re-upgrades a few second-order dependencies that aren't actually
# supported by our first-order dependencies in their oldest versions.)

cargo +nightly update -Z minimal-versions
cargo update \
      -p crc32fast \
      -p quote:0.6.3 \
      -p zeroize_derive:1.1.1 \
      -p env_logger:0.5.0 \
      -p synstructure:0.12.0 \
      -p nix:0.4.2