From 0b793cffeae31280ae16c2dbc6665597c72274d6 Mon Sep 17 00:00:00 2001 From: vados Date: Mon, 27 Oct 2025 17:11:58 +0900 Subject: [PATCH] chore(deps): update rust toolchain & MSRV to 1.90.0 --- .github/workflows/build-and-test/action.yaml | 2 +- Cargo.toml | 2 +- infra/docker/base-pkg-alpine3.18-amd64.Dockerfile | 2 +- infra/docker/base-pkg-alpine3.20.3-amd64.Dockerfile | 2 +- infra/docker/base-pkg-alpine3.21.3-amd64.Dockerfile | 2 +- infra/docker/builder-gnu.Dockerfile | 4 ++-- infra/docker/builder-musl.Dockerfile | 4 ++-- rust-toolchain.toml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-and-test/action.yaml b/.github/workflows/build-and-test/action.yaml index c0b4e6bb..fa7752ea 100644 --- a/.github/workflows/build-and-test/action.yaml +++ b/.github/workflows/build-and-test/action.yaml @@ -15,7 +15,7 @@ inputs: Suffix that will be used on the tarball artifact (ex. '-musl') rust-container-version: type: string - default: 1.85.1 + default: 1.90.0 description: | Version of rust to use in the container apt-cache-dir: diff --git a/Cargo.toml b/Cargo.toml index 93362ef4..141cde34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.3.1" edition = "2021" authors = ["Victor Adossi "] license = "MIT" -rust-version = "1.85.1" +rust-version = "1.90" description = """ A Postgres extension for generating UUIDs """ diff --git a/infra/docker/base-pkg-alpine3.18-amd64.Dockerfile b/infra/docker/base-pkg-alpine3.18-amd64.Dockerfile index a36f982a..ccfcf9ad 100644 --- a/infra/docker/base-pkg-alpine3.18-amd64.Dockerfile +++ b/infra/docker/base-pkg-alpine3.18-amd64.Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.19.0@sha256:13b7e62e8df80264dbb747995705a986aa530415763a6c58f84a3ca8af9a5bcd AS builder # Allow for overriding rust toolcahin version -ARG RUST_TOOLCHAIN_VERSION=1.85.1 +ARG RUST_TOOLCHAIN_VERSION=1.90.0 ENV RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION # Allow for overriding of PGRX PG version that is used diff --git a/infra/docker/base-pkg-alpine3.20.3-amd64.Dockerfile b/infra/docker/base-pkg-alpine3.20.3-amd64.Dockerfile index 1520ef82..dacf106e 100644 --- a/infra/docker/base-pkg-alpine3.20.3-amd64.Dockerfile +++ b/infra/docker/base-pkg-alpine3.20.3-amd64.Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.20.3@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d AS builder # Allow for overriding rust toolcahin version -ARG RUST_TOOLCHAIN_VERSION=1.85.1 +ARG RUST_TOOLCHAIN_VERSION=1.90.0 ENV RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION # Allow for overriding of PGRX PG version that is used diff --git a/infra/docker/base-pkg-alpine3.21.3-amd64.Dockerfile b/infra/docker/base-pkg-alpine3.21.3-amd64.Dockerfile index e84f5f70..f7f03434 100644 --- a/infra/docker/base-pkg-alpine3.21.3-amd64.Dockerfile +++ b/infra/docker/base-pkg-alpine3.21.3-amd64.Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c AS builder # Allow for overriding rust toolcahin version -ARG RUST_TOOLCHAIN_VERSION=1.85.1 +ARG RUST_TOOLCHAIN_VERSION=1.90.0 ENV RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION # Allow for overriding of PGRX PG version that is used diff --git a/infra/docker/builder-gnu.Dockerfile b/infra/docker/builder-gnu.Dockerfile index 27661602..a38afabb 100644 --- a/infra/docker/builder-gnu.Dockerfile +++ b/infra/docker/builder-gnu.Dockerfile @@ -1,5 +1,5 @@ -# rust:1.85.1-slim-bullseye as of 2025/03/27 -FROM rust:1.85.1-slim-bullseye@sha256:1eca9af45f393ac4669b9b63659529638359575f6268cbd4e6543ddc46c53803 +# rust:1.90.0-slim-bullseye as of 2025/10/27 +FROM rust:1.90.0-slim-bullseye@sha256:63a3432f5182b5fb2e5a0d8c2a7c189b0e35735342155a1459e735d6786007c3 ARG CARGO_PGRX_VERSION=0.16.0 ENV CARGO_PGRX_VERSION=${CARGO_PGRX_VERSION} diff --git a/infra/docker/builder-musl.Dockerfile b/infra/docker/builder-musl.Dockerfile index 7e049af2..0746dc5d 100644 --- a/infra/docker/builder-musl.Dockerfile +++ b/infra/docker/builder-musl.Dockerfile @@ -1,5 +1,5 @@ -# rust:1.85.1-alpine3.21 as of 2025/03/31 -FROM rust:1.85.1-alpine3.21@sha256:4333721398de61f53ccbe53b0b855bcc4bb49e55828e8f652d7a8ac33dd0c118 +# rust:1.90.0-alpine3.22 as of 2025/03/31 +FROM rust:1.90.0-alpine3.22@sha256:b4b54b176a74db7e5c68fdfe6029be39a02ccbcfe72b6e5a3e18e2c61b57ae26 ARG CARGO_PGRX_VERSION=0.16.0 ENV CARGO_PGRX_VERSION=${CARGO_PGRX_VERSION} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d071dae9..41c4d3b5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.85.1" +channel = "1.90.0" components = ["rustfmt", "clippy"]