diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index 96e3a1d43..6331a19e7 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -33,7 +33,7 @@ jobs: - name: Rust install uses: dtolnay/rust-toolchain@master with: - toolchain: 1.79.0 + toolchain: 1.84.0 components: clippy, rustfmt - name: Install Linux requirements # TODO: When ubuntu-latest gets updated to >= 23.04 replace the wget+unzip with just protobuf-compiler in apt diff --git a/.github/workflows/run-tarpaulin.yml b/.github/workflows/run-tarpaulin.yml index 94449d66a..66a2038b4 100644 --- a/.github/workflows/run-tarpaulin.yml +++ b/.github/workflows/run-tarpaulin.yml @@ -16,7 +16,7 @@ on: env: CARGO_TERM_COLOR: always - CARGO_VERSION: 1.79.0 + CARGO_VERSION: 1.84.0 jobs: build: diff --git a/Cargo.toml b/Cargo.toml index c24edff2b..c404c14a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,5 +28,5 @@ edition = "2021" license = "Apache-2.0" homepage = "https://docs.akri.sh/" repository = "https://github.com/project-akri/akri" -rust-version = "1.81" +rust-version = "1.84" authors = ["The Akri Team"] \ No newline at end of file diff --git a/README.md b/README.md index 51da88b47..438ba7d66 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
[![Slack channel #akri](https://img.shields.io/badge/slack-akri-blueviolet.svg?logo=slack)](https://kubernetes.slack.com/messages/akri) -[![Rust Version](https://img.shields.io/badge/rustc-1.79.0-blue.svg)](https://blog.rust-lang.org/2023/03/31/Rust-1.79.0.html) +[![Rust Version](https://img.shields.io/badge/rustc-1.84.0-blue.svg)](https://blog.rust-lang.org/2025/01/09/Rust-1.84.0.html) [![Kubernetes Version](https://img.shields.io/badge/kubernetes-≥%201.16-blue.svg)](https://kubernetes.io/) [![codecov](https://codecov.io/gh/project-akri/akri/branch/main/graph/badge.svg?token=V468HO7CDE)](https://codecov.io/gh/project-akri/akri) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5339/badge)](https://bestpractices.coreinfrastructure.org/projects/5339) diff --git a/build/containers/Dockerfile.rust b/build/containers/Dockerfile.rust index 0a021bbd1..3819a8c7a 100644 --- a/build/containers/Dockerfile.rust +++ b/build/containers/Dockerfile.rust @@ -1,6 +1,6 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:master AS xx -FROM --platform=$BUILDPLATFORM rust:1.79-slim-bookworm AS build +FROM --platform=$BUILDPLATFORM rust:1.84-slim-bookworm AS build RUN rustup component add rustfmt RUN apt-get update && apt-get install -y clang lld protobuf-compiler pkg-config mmdebstrap wget COPY --from=xx / / diff --git a/build/setup.sh b/build/setup.sh index 06214e1dc..8ad221ad4 100755 --- a/build/setup.sh +++ b/build/setup.sh @@ -23,10 +23,10 @@ then if [ -x "$(command -v sudo)" ]; then echo "Install rustup" - sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.79.0 + sudo curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.84.0 else echo "Install rustup" - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.79.0 + curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.84.0 fi else echo "Found rustup"