From 51eab26d24ce907ab10c23f3764b8de8e45678ef Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Mon, 16 Sep 2024 18:19:33 +0200 Subject: [PATCH] bump rust (#67) --- Cargo.toml | 8 ++++---- Dockerfile | 4 ++-- rust-toolchain.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 72eb43a..437af9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,14 +16,14 @@ description = "namespaces aliases for command lines & basic scripting language" homepage = "https://github.com/nbittich/adana" repository = "https://github.com/nbittich/adana" readme = "README.md" -rust-version = "1.80" +rust-version = "1.81" edition = "2021" license = "MIT" exclude = ["vscode/", "dist/", ".vscode", ".history", ".git", ".github"] [workspace.dependencies] -anyhow = "1.0.86" +anyhow = "1.0.89" bincode = "1.3.3" dirs = "5.0.1" # todo maybe replace by the home crate log = "0.4.22" @@ -32,8 +32,8 @@ libloading = "0.8.5" nu-ansi-term = "0.50.1" rustyline = "14.0.0" rustyline-derive = "0.10.0" -serde = { version = "1.0.209", features = ['serde_derive', 'rc'] } -serde_json = "1.0.127" +serde = { version = "1.0.210", features = ['serde_derive', 'rc'] } +serde_json = "1.0.128" slab_tree = "0.3.2" strum = { version = "0.26.3", features = ["derive"] } ctrlc = "3.4.5" diff --git a/Dockerfile b/Dockerfile index 0ea68c7..a08e152 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.80-bookworm as builder +FROM rust:1.81-bookworm as builder WORKDIR /app @@ -10,7 +10,7 @@ COPY . . RUN cargo build --release -FROM rust:1.80-slim-bookworm +FROM rust:1.81-slim-bookworm ENV RUST_LOG=info diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8cca5be..4cef0b7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.80" +channel = "1.81"