summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2022-06-08 01:00:42 -0400
committerGitHub <noreply@github.com>2022-06-08 01:00:42 -0400
commit06664ab21b100e65eb4357e6bd24656f8f9d194a (patch)
tree052cd8208f6d73500584162fe1cea1e8c96ed6a5 /tools
parent430f3f80627679d5a9fec401cfc6ff55871b9835 (diff)
parent8d4bd121e9fe9183eac5323f505ac5f0b8848efe (diff)
Merge pull request #31 from ojacobson/actix-4-and-askama
Actix 4 and askama (as a way of fixing vulns detected by dependabot).
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-dependencies2
-rwxr-xr-xtools/install-tool-dependencies3
-rwxr-xr-xtools/update-nightly8
3 files changed, 3 insertions, 10 deletions
diff --git a/tools/check-dependencies b/tools/check-dependencies
index 36641e3..b458994 100755
--- a/tools/check-dependencies
+++ b/tools/check-dependencies
@@ -4,4 +4,4 @@
#
# Checks that the dependencies in this project are all in use.
-cargo udeps --locked --all-targets
+cargo +nightly udeps --locked --all-targets
diff --git a/tools/install-tool-dependencies b/tools/install-tool-dependencies
index 27a9015..fb4c37c 100755
--- a/tools/install-tool-dependencies
+++ b/tools/install-tool-dependencies
@@ -5,5 +5,6 @@
# Install Rust and Cargo components used by tool scripts, which are not part of
# Cargo.toml.
+rustup toolchain install nightly
rustup component add clippy rustfmt
-cargo install cargo-udeps \ No newline at end of file
+cargo +nightly install cargo-udeps
diff --git a/tools/update-nightly b/tools/update-nightly
deleted file mode 100755
index 7567110..0000000
--- a/tools/update-nightly
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash -ex
-
-# tools/update-nightly
-#
-# Install today's nightly Rust release.
-
-date "+nightly-%Y-%m-%d" > rust-toolchain
-rustup install --profile minimal "$(< rust-toolchain)"