summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-11-29 12:36:24 +0300
committerNamilskyy <alive6863@gmail.com>2025-11-29 12:36:56 +0300
commit11ccd034109224849fff54c12785e454deba6741 (patch)
tree8e789990f6dcedfa6058e2e26147f8e97108df3f /src/main.rs
parent4920b032cf998b2edc6c52942f4d012eead6a169 (diff)
Fixed much warnings, some refactors and additions.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 8 insertions, 5 deletions
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> {