[fmt] added rustfmt.toml and applied it
This commit is contained in:
parent
2ec1dc7842
commit
3901dc8bb0
3
rustfmt.toml
Normal file
3
rustfmt.toml
Normal file
@ -0,0 +1,3 @@
|
||||
group_imports = "StdExternalCrate"
|
||||
imports_granularity = "Crate"
|
||||
imports_layout = "HorizontalVertical"
|
11
src/main.rs
11
src/main.rs
@ -1,9 +1,10 @@
|
||||
use actix_web::{App, HttpServer};
|
||||
use std::env;
|
||||
use std::net::IpAddr;
|
||||
use std::net::SocketAddr;
|
||||
use std::thread::available_parallelism;
|
||||
use std::{
|
||||
env,
|
||||
net::{IpAddr, SocketAddr},
|
||||
thread::available_parallelism,
|
||||
};
|
||||
|
||||
use actix_web::{App, HttpServer};
|
||||
use clap::{crate_name, crate_version, Parser};
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
|
Loading…
Reference in New Issue
Block a user