Compare commits

...

2 commits

Author SHA1 Message Date
6bff95d9bb Cleanup parameter type 2025-10-05 12:05:47 +02:00
0f749df239 Update dependencies 2025-10-05 12:05:07 +02:00
3 changed files with 929 additions and 631 deletions

1547
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"
[dependencies]
askama = "0.12.1"
axum = { version = "0.7.5", features = ["macros"] }
askama = "0.14.0"
axum = { version = "0.8.6", features = ["macros"] }
color-eyre = "0.6.3"
futures = "0.3.30"
reqwest = { version = "0.12.7", features = [

View file

@ -8,7 +8,7 @@ use axum::{
Router,
};
use color_eyre::{eyre::Context, Result};
use serde::{Deserialize, Serialize};
use serde::Deserialize;
use tracing::{error, info};
use crate::db::{BuildInfo, BuildMode, BuildStats, Db, Status};
@ -325,13 +325,8 @@ async fn index_js() -> impl IntoResponse {
)
}
#[derive(Serialize, Deserialize)]
struct TriggerBuildBody {
nightly: String,
}
impl Status {
fn to_emoji(&self) -> &'static str {
fn to_emoji(self) -> &'static str {
match self {
Status::Pass => "",
Status::Error => "",