clippy: Enable more warnings

This commit is contained in:
Lennart K
2025-10-27 11:39:24 +01:00
parent 43d7aabf28
commit 08041c60be
11 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use axum::{Extension, Router};
use derive_more::Constructor;
use principal::PrincipalResourceService;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use axum::response::Redirect;
use axum::routing::any;
use axum::{Extension, Router};

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
pub mod error;
pub mod extensions;
pub mod header;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
mod extension;
mod prop;
pub mod register;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use axum::{
Extension, RequestExt, Router,
body::Body,

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
mod timestamp;
mod timezone;
pub use timestamp::*;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use axum::{
Extension, Form,
extract::Query,

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
pub mod addressbook;
pub mod addressbook_store;
pub mod calendar_store;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
pub use error::Error;
use serde::Serialize;
use sqlx::{Pool, Sqlite, SqlitePool, sqlite::SqliteConnectOptions};

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use quick_xml::name::Namespace;
use std::collections::HashMap;
use std::hash::Hash;

View File

@@ -1,3 +1,4 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
use crate::config::Config;
use anyhow::Result;
use app::make_app;