fmt
This commit is contained in:
parent
416e33db7f
commit
56b7a4d843
2
rustfmt.toml
Normal file
2
rustfmt.toml
Normal file
@ -0,0 +1,2 @@
|
||||
imports_granularity = "Item"
|
||||
group_imports = "StdExternalCrate"
|
26
src/main.rs
26
src/main.rs
@ -1,15 +1,19 @@
|
||||
use std::{env::var, io, net::SocketAddr, sync::Once};
|
||||
use std::env::var;
|
||||
use std::io;
|
||||
use std::net::SocketAddr;
|
||||
use std::sync::Once;
|
||||
|
||||
use axum::{
|
||||
body::{Bytes, Full},
|
||||
extract::{DefaultBodyLimit, Multipart},
|
||||
http::StatusCode,
|
||||
response::{IntoResponse, Response},
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
|
||||
use magick_rust::{magick_wand_genesis, MagickWand};
|
||||
use axum::body::Bytes;
|
||||
use axum::body::Full;
|
||||
use axum::extract::DefaultBodyLimit;
|
||||
use axum::extract::Multipart;
|
||||
use axum::http::StatusCode;
|
||||
use axum::response::IntoResponse;
|
||||
use axum::response::Response;
|
||||
use axum::routing::get;
|
||||
use axum::Router;
|
||||
use magick_rust::magick_wand_genesis;
|
||||
use magick_rust::MagickWand;
|
||||
use tower_http::limit::RequestBodyLimitLayer;
|
||||
|
||||
static START: Once = Once::new();
|
||||
|
Loading…
Reference in New Issue
Block a user