From 4bf685f951217b0b5b4df067b8dfeec8bae01357 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Sun, 30 Nov 2025 16:26:39 +0300 Subject: Major updates in network sector, implemented package fetch by index, some fixes in pkgtoolkit --- src/cfg/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cfg/config.rs') diff --git a/src/cfg/config.rs b/src/cfg/config.rs index cf6188e..88c98ff 100644 --- a/src/cfg/config.rs +++ b/src/cfg/config.rs @@ -37,6 +37,8 @@ pub struct Repo { pub auto_update: bool, #[serde(rename = "destination")] pub destination: (String, String), + #[serde(rename = "repo_http_url")] + pub repo_http_url: Option, // #[serde(rename = "arch")] // pub arch = arch; } @@ -68,6 +70,7 @@ impl Config { repo_url: format!("https://mesk.anthrill.i2p/repo/{}/", std::env::consts::ARCH), auto_update: true, destination: (String::from("mesk"), String::from("mesk")), + repo_http_url: None, // Its a hurt place, you need to generate destinations by i2pd and paste here (to mesk.toml) // Better to leave it empty or set it to (mesk, mesk), now destination conn not implemented }, @@ -99,6 +102,7 @@ impl Config { }, auto_update: true, destination: (String::from("mesk"), String::from("mesk")), + repo_http_url: None, }, log: Log { log_file: String::from("/var/log/mesk.log"), -- cgit v1.2.3