[fmt] added rustfmt.toml and applied it

This commit is contained in:
ddidderr committed 2024-04-08 11:30:05 +02:00
1 parent 2ec1dc7842
commit 3901dc8bb0
2 files changed
+9 -5

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
imports_layout = "HorizontalVertical"
+6 -5
View File
@@ -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)]