diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-30 16:26:39 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-30 16:31:25 +0300 |
| commit | 4bf685f951217b0b5b4df067b8dfeec8bae01357 (patch) | |
| tree | 7e0065d13a3eb88b783e9468e785856784d8734e /src/cfg/config.rs | |
| parent | f756b0d1c97193a0c1ad440977fb279c88c4e66a (diff) | |
Major updates in network sector, implemented package fetch by index, some fixes in pkgtoolkit
Diffstat (limited to 'src/cfg/config.rs')
| -rw-r--r-- | src/cfg/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<String>, // #[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"), |
