From c9da56e8e987c6fcbb6b81aa95524e3af8363120 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Tue, 9 Dec 2025 23:27:51 +0100 Subject: [PATCH] removed unused functions --- src/config.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/config.rs b/src/config.rs index d30df1d..c681eec 100644 --- a/src/config.rs +++ b/src/config.rs @@ -42,10 +42,6 @@ fn default_tasks_per_session() -> usize { 0 // 0 = rotate between economic/corporate } -fn default_protonvpn_extension_id() -> String { - "ghmbeldphafepmbegfdlkpapadhbakde".to_string() -} - impl Default for Config { fn default() -> Self { Self { @@ -124,19 +120,6 @@ impl Config { }) } - /// Get the list of VPN servers configured for rotation - pub fn get_vpn_servers(&self) -> Vec { - if self.vpn_servers.is_empty() { - Vec::new() - } else { - self.vpn_servers - .split(',') - .map(|s| s.trim().to_string()) - .filter(|s| !s.is_empty()) - .collect() - } - } - pub fn target_end_date(&self) -> String { let now = chrono::Local::now().naive_local().date(); let future = now + chrono::Duration::days(30 * self.economic_lookahead_months as i64);