chore: edition 2024, rust 1.95.0, bump all deps to latest stable

This commit is contained in:
2026-04-28 01:12:16 +02:00
parent fbd697759d
commit 83ebff3b3e
3 changed files with 126 additions and 401 deletions

510
backend/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +1,18 @@
[package]
name = "attendance"
version = "0.1.0"
edition = "2021"
edition = "2024"
rust-version = "1.95.0"
[dependencies]
axum = { version = "0.7", features = ["macros"] }
axum = { version = "0.8", features = ["macros"] }
tokio = { version = "1", features = ["full"] }
sqlx = { version = "0.7", features = ["sqlite", "runtime-tokio", "macros", "migrate"] }
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "macros", "migrate"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
jsonwebtoken = "9"
bcrypt = "0.15"
tower-http = { version = "0.5", features = ["fs", "cors"] }
jsonwebtoken = "10"
bcrypt = "0.19"
tower-http = { version = "0.6", features = ["fs", "cors"] }
chrono = { version = "0.4", features = ["serde"] }
rand = "0.9"
thiserror = "2"
@@ -19,5 +20,5 @@ tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
tower = { version = "0.4", features = ["util"] }
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"

2
rust-toolchain.toml Normal file
View File

@@ -0,0 +1,2 @@
[toolchain]
channel = "1.95.0"