Skip to content

Commit

Permalink
updated rust version to 1.84
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bindseil <[email protected]>
  • Loading branch information
bindsi committed Jan 17, 2025
1 parent 382d3b9 commit 8802c88
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tarpaulin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_VERSION: 1.79.0
CARGO_VERSION: 1.84.0

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><img src="https://github.com/project-akri/akri-docs/blob/main/art/logo-horizontal/akri-logo-horizontal-light.svg" alt="Akri Logo" width="300"></p>

[![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)
Expand Down
2 changes: 1 addition & 1 deletion build/containers/Dockerfile.rust
Original file line number Diff line number Diff line change
@@ -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 / /
Expand Down
4 changes: 2 additions & 2 deletions build/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8802c88

Please sign in to comment.