Skip to content

Commit b207b1c

Browse files
author
zerox80
committed
fix: downgrade home crate to resolve Docker build compatibility
- Reverted home dependency from 0.5.12 to 0.5.9 for compatibility with Rust 1.83 - Updated base Rust image to 1.83-slim in Dockerfile
1 parent 5be3f08 commit b207b1c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "linux-tutorial-backend"
33
version = "1.0.0"
44
edition = "2021"
5-
rust-version = "1.82" # Minimum Supported Rust Version
5+
rust-version = "1.83" # Minimum Supported Rust Version
66
authors = ["zerox80"]
77
license = "MIT"
88
description = "High-performance Rust backend API for Linux Tutorial CMS"
@@ -36,7 +36,7 @@ unicode-normalization = "0.1"
3636
sha2 = "0.10"
3737

3838
[dependencies.home]
39-
version = "=0.5.12"
39+
version = "=0.5.9"
4040

4141
[dependencies.base64ct]
4242
version = "=1.8.0"

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Multi-stage build für kleines Image
22
# Use latest stable Rust
33
# Multi-stage build for optimized image size
4-
FROM rust:1.82-slim AS builder
4+
FROM rust:1.83-slim AS builder
55

66
WORKDIR /app
77

0 commit comments

Comments
 (0)