aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorGus Power <gus@infinitesidequests.com>2025-05-16 12:16:48 +0100
committerGus Power <gus@infinitesidequests.com>2025-05-16 12:16:48 +0100
commit5c5e7c59f9ae8932eb87d00ec7e4fea389faffde (patch)
treecdcaced066f26f0e2265bb74bc414f58d6ac0184 /src/main.rs
parent5f2466e463edcf6d161f9ba6371eaf7afc3549e3 (diff)
next pass at IpService
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 7fce580..06bea8e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,16 +1,13 @@
-use std::path::{Path, PathBuf};
-use std::process::exit;
-use clap::Parser;
-use log::info;
use crate::config::Config;
-use crate::dyndns_service::DynDnsService;
use crate::error::AppResult;
-use crate::ip_service::IpService;
+use clap::Parser;
+use std::path::PathBuf;
+use std::process::exit;
-mod dyndns_service;
-mod ip_service;
mod config;
+mod dyndns_service;
mod error;
+mod ip_service;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]