diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-25 19:30:30 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-25 19:30:30 +0300 |
| commit | 2f3c93066163b32eb62aa15797ec4fff90c7cce8 (patch) | |
| tree | 24d0fa6dcd6043885002e0efd707554b15fa0d83 /src/cfg/config.rs | |
| parent | 778f713b2c4b8f8311daf2b878de91e449f69988 (diff) | |
Switched unworking i2p_client to emissary-core library as i2p implementation.
Diffstat (limited to 'src/cfg/config.rs')
| -rw-r--r-- | src/cfg/config.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg/config.rs b/src/cfg/config.rs index 8672433..7c81e21 100644 --- a/src/cfg/config.rs +++ b/src/cfg/config.rs @@ -37,6 +37,10 @@ pub struct Repo { pub repo_url: String, #[serde(rename = "auto_update")] pub auto_update: bool, + #[serde(rename = "destination")] + pub destination: (String, String), +// #[serde(rename = "arch")] +// pub arch = arch; } #[derive(Deserialize, Debug, Serialize)] @@ -68,6 +72,8 @@ impl Config { repo_url: format!("https://mesk.anthrill.i2p/repo/{}/", std::env::consts::ARCH), auto_update: true, + destination: (String::from("mesk"), String::from("mesk")), + // Its a hurt place, you need to generate destinations by i2pd and paste here (to mesk.toml) }, log: Log { log_file: String::from("/var/log/mesk.log"), |
