build: define rust-toolchain.toml and point to 'latest' nightly, fix rust crates on it

This commit is contained in:
dusk 2025-08-13 02:42:53 +03:00
parent 5d57bd9320
commit 4a865b45cd
No known key found for this signature in database
13 changed files with 16 additions and 19 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "api"
version = "0.1.0"
edition = "2021"
edition = "2024"
[dependencies]
pluralkit_models = { path = "../models" }

View file

@ -1,5 +1,3 @@
#![feature(let_chains)]
use auth::{AuthState, INTERNAL_APPID_HEADER, INTERNAL_SYSTEMID_HEADER};
use axum::{
body::Body,