My personal site cherry.computer
htmx tailwind axum askama

build: bump to the Rust 2024 edition

cherry.computer cf3ed325 0fe1c4b2

verified
+4 -4
+1 -1
Dockerfile
··· 8 COPY frontend . 9 RUN npm run build:production 10 11 - FROM rust:1.83 AS builder-rs 12 13 WORKDIR /usr/src/myivo-server 14 COPY server .
··· 8 COPY frontend . 9 RUN npm run build:production 10 11 + FROM rust:1.85 AS builder-rs 12 13 WORKDIR /usr/src/myivo-server 14 COPY server .
+1 -1
server/Cargo.toml
··· 1 [package] 2 name = "myivo-server" 3 version = "0.1.0" 4 - edition = "2021" 5 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7
··· 1 [package] 2 name = "myivo-server" 3 version = "0.1.0" 4 + edition = "2024" 5 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7
+2 -2
server/src/main.rs
··· 10 use askama::Template; 11 use async_stream::stream; 12 use axum::{ 13 extract::{Query, State}, 14 http::{HeaderName, HeaderValue, StatusCode}, 15 - response::{sse, Html, IntoResponse, Sse}, 16 routing::{get, get_service}, 17 - Router, 18 }; 19 use serde::Deserialize; 20 use tokio::time::{self, MissedTickBehavior};
··· 10 use askama::Template; 11 use async_stream::stream; 12 use axum::{ 13 + Router, 14 extract::{Query, State}, 15 http::{HeaderName, HeaderValue, StatusCode}, 16 + response::{Html, IntoResponse, Sse, sse}, 17 routing::{get, get_service}, 18 }; 19 use serde::Deserialize; 20 use tokio::time::{self, MissedTickBehavior};