From 11ccd034109224849fff54c12785e454deba6741 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Sat, 29 Nov 2025 12:36:24 +0300 Subject: Fixed much warnings, some refactors and additions. --- src/main.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4515896..1630c66 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,11 @@ mod cfg; mod i2impl; mod pkgtoolkit; +#[allow(unused_imports)] use crate::cfg::config::Config; +#[allow(unused_imports)] use crate::pkgtoolkit::pkgtools::Package; +#[allow(unused_imports)] use crate::i2impl::mi2p; use clap::{Parser, Subcommand, Args}; @@ -42,11 +45,11 @@ enum Commands { #[derive(Args, Clone)] #[command(about = "Remote install arguments")] struct RemoteInstallArgs { - Verbose: bool, - Debug: bool, - Bin: bool, - Source: bool, - I2P: bool, + verbose: bool, + debug: bool, + bin: bool, + source: bool, + i2p: bool, } fn main() -> Result<(), std::io::Error> { -- cgit v1.2.3