updated dependencies application wide

This commit is contained in:
Per Stark
2025-04-24 13:50:20 +02:00
parent ce006f6ecc
commit 776a454a88
23 changed files with 1315 additions and 852 deletions

View File

@@ -1,5 +1,4 @@
use axum::{
async_trait,
extract::{FromRequestParts, Request},
http::request::Parts,
middleware::Next,
@@ -15,7 +14,6 @@ use super::response_middleware::TemplateResponse;
pub struct RequireUser(pub User);
// Implement FromRequestParts for RequireUser
#[async_trait]
impl<S> FromRequestParts<S> for RequireUser
where
S: Send + Sync,

View File

@@ -101,8 +101,8 @@ impl IntoResponse for TemplateResponse {
pub async fn with_template_response<S>(
State(state): State<S>,
HxRequest(is_htmx): HxRequest,
response: Response,
) -> Response
response: Response<axum::body::Body>,
) -> Response<axum::body::Body>
where
S: ProvidesTemplateEngine + Clone + Send + Sync + 'static,
{