style: format Rust source code
Some checks failed
CI / Check Style (push) Successful in 1m37s
CI / Run Clippy (push) Successful in 3m11s
CI / Run Tests (push) Failing after 5m9s

This commit is contained in:
Lucien Cartier-Tilet 2024-12-05 02:05:45 +01:00
parent c81ba2536c
commit e868891d26
Signed by: phundrak
GPG Key ID: 347803E8073EACE0
7 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
use daily_aujourdhui::app::App;
#[allow(unused_imports)] #[allow(unused_imports)]
use loco_rs::{cli::playground, prelude::*}; use loco_rs::{cli::playground, prelude::*};
use daily_aujourdhui::app::App;
#[tokio::main] #[tokio::main]
async fn main() -> loco_rs::Result<()> { async fn main() -> loco_rs::Result<()> {

View File

@ -1,5 +1,5 @@
use loco_rs::cli;
use daily_aujourdhui::app::App; use daily_aujourdhui::app::App;
use loco_rs::cli;
use migration::Migrator; use migration::Migrator;
#[tokio::main] #[tokio::main]

View File

@ -1,5 +1,5 @@
use loco_rs::cli;
use daily_aujourdhui::app::App; use daily_aujourdhui::app::App;
use loco_rs::cli;
use migration::Migrator; use migration::Migrator;
#[tokio::main] #[tokio::main]

View File

@ -1,9 +1,9 @@
use insta::assert_debug_snapshot;
use loco_rs::{model::ModelError, testing};
use daily_aujourdhui::{ use daily_aujourdhui::{
app::App, app::App,
models::users::{self, Model, RegisterParams}, models::users::{self, Model, RegisterParams},
}; };
use insta::assert_debug_snapshot;
use loco_rs::{model::ModelError, testing};
use sea_orm::{ActiveModelTrait, ActiveValue, IntoActiveModel}; use sea_orm::{ActiveModelTrait, ActiveValue, IntoActiveModel};
use serial_test::serial; use serial_test::serial;

View File

@ -1,6 +1,6 @@
use daily_aujourdhui::{app::App, models::users};
use insta::{assert_debug_snapshot, with_settings}; use insta::{assert_debug_snapshot, with_settings};
use loco_rs::testing; use loco_rs::testing;
use daily_aujourdhui::{app::App, models::users};
use rstest::rstest; use rstest::rstest;
use serial_test::serial; use serial_test::serial;

View File

@ -1,6 +1,6 @@
use axum::http::{HeaderName, HeaderValue}; use axum::http::{HeaderName, HeaderValue};
use loco_rs::{app::AppContext, TestServer};
use daily_aujourdhui::{models::users, views::auth::LoginResponse}; use daily_aujourdhui::{models::users, views::auth::LoginResponse};
use loco_rs::{app::AppContext, TestServer};
const USER_EMAIL: &str = "test@loco.com"; const USER_EMAIL: &str = "test@loco.com";
const USER_PASSWORD: &str = "1234"; const USER_PASSWORD: &str = "1234";

View File

@ -1,5 +1,5 @@
use loco_rs::{boot::run_task, task, testing};
use daily_aujourdhui::app::App; use daily_aujourdhui::app::App;
use loco_rs::{boot::run_task, task, testing};
use serial_test::serial; use serial_test::serial;
#[tokio::test] #[tokio::test]