style: format Rust source code
This commit is contained in:
parent
c81ba2536c
commit
e868891d26
@ -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<()> {
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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";
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user