diff --git a/src/main.rs b/src/main.rs index 1779884..5a1fdc7 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,4 @@ -#![warn( - clippy::all, - clippy::pedantic, - clippy::nursery, -)] +#![warn(clippy::all, clippy::pedantic, clippy::nursery)] use clap::Parser; use std::env; @@ -10,8 +6,8 @@ use std::path::Path; use std::process::Command; use crate::args::{Args, Operation}; -use crate::internal::AppExitCode; use crate::internal::parse_cfg; +use crate::internal::AppExitCode; #[global_allocator] static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; diff --git a/src/operations/build.rs b/src/operations/build.rs index b7bf40d..8b6d3dc 100644 --- a/src/operations/build.rs +++ b/src/operations/build.rs @@ -1,6 +1,6 @@ use crate::internal::structs::{ErroredPackage, Repo}; use crate::internal::AppExitCode; -use crate::{crash, info, log, repository, internal}; +use crate::{crash, info, internal, log, repository}; pub fn build(packages: &[String], exclude: Vec, no_regen: bool, verbose: bool) { // Read config struct from mlc.toml diff --git a/src/operations/config.rs b/src/operations/config.rs index 3b6a49f..503fe25 100644 --- a/src/operations/config.rs +++ b/src/operations/config.rs @@ -2,7 +2,7 @@ use std::env; use std::path::Path; use std::process::Command; -use crate::{repository::create, log}; +use crate::{log, repository::create}; pub fn config(verbose: bool) { // Generate new config file if not already present diff --git a/src/repository/repo.rs b/src/repository/repo.rs index 0c1ab83..0d0b391 100644 --- a/src/repository/repo.rs +++ b/src/repository/repo.rs @@ -2,7 +2,7 @@ use std::path::Path; use std::process::Command; use std::{env, fs}; -use crate::{crash, info, internal::AppExitCode, log, internal::parse_cfg}; +use crate::{crash, info, internal::parse_cfg, internal::AppExitCode, log}; pub fn generate(verbose: bool) { // Read config struct from mlc.toml