From 1ef4173b7704b7d1563ec4b19a5e713e2b250d3d Mon Sep 17 00:00:00 2001 From: Stephan Boyer Date: Wed, 8 Jul 2026 00:11:55 -0700 Subject: [PATCH] Update dependencies and GitHub Actions --- .github/workflows/ci.yml | 12 ++++---- Cargo.lock | 63 +++++++++++++--------------------------- Cargo.toml | 2 +- toast.yml | 8 ++--- 4 files changed, 31 insertions(+), 54 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 099b4f2..3b97c1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v7.0.0 - if: ${{ github.event_name == 'push' }} - uses: docker/login-action@v4.2.0 + uses: docker/login-action@v4.4.0 with: username: stephanmisc password: ${{ secrets.DOCKER_PASSWORD }} @@ -197,7 +197,7 @@ jobs: contents: write steps: - uses: actions/checkout@v7.0.0 - - uses: docker/login-action@v4.2.0 + - uses: docker/login-action@v4.4.0 with: username: stephanmisc password: ${{ secrets.DOCKER_PASSWORD }} @@ -255,11 +255,11 @@ jobs: chmod a+x artifacts/docuum-x86_64-unknown-linux-musl chmod a+x artifacts/docuum-aarch64-unknown-linux-musl - if: ${{ env.VERSION_TO_PUBLISH != null }} - uses: docker/setup-buildx-action@v4.1.0 # For building multi-platform images + uses: docker/setup-buildx-action@v4.2.0 # For building multi-platform images - if: ${{ env.VERSION_TO_PUBLISH != null }} - uses: docker/setup-qemu-action@v4.1.0 # For building multi-platform images + uses: docker/setup-qemu-action@v4.2.0 # For building multi-platform images - if: ${{ env.VERSION_TO_PUBLISH != null }} - uses: docker/build-push-action@v7.2.0 + uses: docker/build-push-action@v7.3.0 with: context: . push: true @@ -273,7 +273,7 @@ jobs: set -euxo pipefail # Run the Docker image to validate it. The image has already been published (since the - # `docker/build-push-action@v7.2.0` action unfortunately doesn't support importing multi- + # `docker/build-push-action@v7.3.0` action unfortunately doesn't support importing multi- # platform images into a local Docker installation), but we still validate it now anyway. docker run \ --init \ diff --git a/Cargo.lock b/Cargo.lock index 3a32937..6db5607 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -83,9 +83,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f02882884d3e1bc524fb12c79f107f6ad0e1cfd498c536ffb494301740995dfe" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" [[package]] name = "autocfg" @@ -198,9 +198,9 @@ checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593" [[package]] name = "cc" -version = "1.2.65" +version = "1.2.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e228eec9be7c17ccb640b59b36a5cd805ea2a564a4c5e162c2f659fea30d3b96" +checksum = "f5d6cac793997bd970000024b2934968efe83b382de4fdcf4fcb46b6ee4ad996" dependencies = [ "find-msvc-tools", "shlex", @@ -306,9 +306,9 @@ dependencies = [ [[package]] name = "defmt" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6e524506490a1953d237cb87b1cfc1e46f88c18f10a22dfe0f507dc6bfc7f7f" +checksum = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" dependencies = [ "bitflags 1.3.2", "defmt-macros", @@ -316,12 +316,11 @@ dependencies = [ [[package]] name = "defmt-macros" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0a27770e9c8f719a79d8b638281f4d828f77d8fd61e0bd94451b9b85e576a0b" +checksum = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" dependencies = [ "defmt-parser", - "proc-macro-error2", "proc-macro2", "quote", "syn 2.0.118", @@ -522,9 +521,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "humantime" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" +checksum = "15cdd26707701c53297e2fa6afb323d55fbc1d0810c3aec078ae3ef0424c3c15" [[package]] name = "iana-time-zone" @@ -643,9 +642,9 @@ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" [[package]] name = "memchr" -version = "2.8.2" +version = "2.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "nix" @@ -791,28 +790,6 @@ dependencies = [ "toml_edit", ] -[[package]] -name = "proc-macro-error-attr2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "proc-macro-error2" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" -dependencies = [ - "proc-macro-error-attr2", - "proc-macro2", - "quote", - "syn 2.0.118", -] - [[package]] name = "proc-macro2" version = "1.0.106" @@ -1023,9 +1000,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "ryu" @@ -1257,9 +1234,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "utf8-width" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1292c0d970b54115d14f2492fe0170adf21d68a1de108eebc51c1df4f346a091" +checksum = "159a7cadce548703edd50d24069bc294c5415ecab0a480e0cd1ca06d112dc94a" [[package]] name = "utf8parse" @@ -1508,18 +1485,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.52" +version = "0.8.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce1022995ff5ff5d841ad7d994facc23098cd40152f2c1d11cd607c6f530653f" +checksum = "75726053136156d419e285b9b7eddaaea9e3fea6ce32eed44a89901f0bd98de1" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.52" +version = "0.8.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ae7f38b72ec2a254e2b87ef277cf2cd4fb97cbebf944faa6f33354da0867930" +checksum = "4714fd92cf900833d49538023a9b3915155210801d1c1169eba513b2addefd71" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 05f6bee..1131c9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ clap = { version = "4.6.1", features = ["derive", "wrap_help"] } colored = "3.1.1" dirs = "6.0.0" env_logger = "0.11.11" -humantime = "2.3.0" +humantime = "2.4.0" log = "0.4.33" regex = { version = "1.12.4", default-features = false, features = ["std", "unicode-perl"] } serde = { version = "1.0.228", features = ["derive"] } diff --git a/toast.yml b/toast.yml index 0548a57..0ec50bb 100644 --- a/toast.yml +++ b/toast.yml @@ -17,11 +17,11 @@ command_prefix: | cargo-offline () { cargo --frozen --offline "$@"; } # Use this wrapper for formatting code or checking that code is formatted. We use a nightly Rust - # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2026-07-01]. The + # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2026-07-08]. The # nightly version was chosen as the latest available release with all components present # according to this page: # https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html - cargo-fmt () { cargo +nightly-2026-07-01 --frozen --offline fmt --all -- "$@"; } + cargo-fmt () { cargo +nightly-2026-07-08 --frozen --offline fmt --all -- "$@"; } # Make Bash log commands. set -x @@ -102,8 +102,8 @@ tasks: # Add Rust tools to `$PATH`. . "$HOME/.cargo/env" - # Install nightly Rust [ref:rust_fmt_nightly_2026-07-01]. - rustup toolchain install nightly-2026-07-01 --profile minimal --component rustfmt + # Install nightly Rust [ref:rust_fmt_nightly_2026-07-08]. + rustup toolchain install nightly-2026-07-08 --profile minimal --component rustfmt install_tools: description: Install the tools needed to build and validate the program.