Michal 2 years ago
parent 8d93464d87
commit 989e01649f
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -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;

@ -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<String>, no_regen: bool, verbose: bool) {
// Read config struct from mlc.toml

@ -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

@ -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

Loading…
Cancel
Save