mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 21:42:34 +00:00
clippy: Enable more warnings
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use axum::{Extension, Router};
|
use axum::{Extension, Router};
|
||||||
use derive_more::Constructor;
|
use derive_more::Constructor;
|
||||||
use principal::PrincipalResourceService;
|
use principal::PrincipalResourceService;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use axum::response::Redirect;
|
use axum::response::Redirect;
|
||||||
use axum::routing::any;
|
use axum::routing::any;
|
||||||
use axum::{Extension, Router};
|
use axum::{Extension, Router};
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod extensions;
|
pub mod extensions;
|
||||||
pub mod header;
|
pub mod header;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
mod extension;
|
mod extension;
|
||||||
mod prop;
|
mod prop;
|
||||||
pub mod register;
|
pub mod register;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use axum::{
|
use axum::{
|
||||||
Extension, RequestExt, Router,
|
Extension, RequestExt, Router,
|
||||||
body::Body,
|
body::Body,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
mod timestamp;
|
mod timestamp;
|
||||||
mod timezone;
|
mod timezone;
|
||||||
pub use timestamp::*;
|
pub use timestamp::*;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use axum::{
|
use axum::{
|
||||||
Extension, Form,
|
Extension, Form,
|
||||||
extract::Query,
|
extract::Query,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
pub mod addressbook;
|
pub mod addressbook;
|
||||||
pub mod addressbook_store;
|
pub mod addressbook_store;
|
||||||
pub mod calendar_store;
|
pub mod calendar_store;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
pub use error::Error;
|
pub use error::Error;
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
use sqlx::{Pool, Sqlite, SqlitePool, sqlite::SqliteConnectOptions};
|
use sqlx::{Pool, Sqlite, SqlitePool, sqlite::SqliteConnectOptions};
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use quick_xml::name::Namespace;
|
use quick_xml::name::Namespace;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#![warn(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||||
use crate::config::Config;
|
use crate::config::Config;
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use app::make_app;
|
use app::make_app;
|
||||||
|
|||||||
Reference in New Issue
Block a user