summaryrefslogtreecommitdiff
path: root/\
diff options
context:
space:
mode:
authornamilsk <namilsk@namilsk.tech>2026-02-11 11:38:48 +0300
committernamilsk <namilsk@namilsk.tech>2026-02-11 11:45:05 +0300
commit3271dfc977cc5841731594c308e19aae575c685d (patch)
tree005a343011f98ff400ed578cc1ad2513e700aeef /\
parent14961088a9da16bb1f244f26aaefcadfe07fc8a9 (diff)
Added build features which allows you remove integrated router, code refactoring coming soon
Diffstat (limited to '\')
-rw-r--r--\49
1 files changed, 49 insertions, 0 deletions
diff --git a/\ b/\
new file mode 100644
index 0000000..9e90acc
--- /dev/null
+++ b/\
@@ -0,0 +1,49 @@
+[package]
+name = "mesk"
+version = "0.0.1"
+edition = "2024"
+license = "GPL-3.0"
+authors = [ "namilsk <namilsk@namilsk.tech>" ]
+description = "An i2p-based package manager developed by Anthrill project"
+categories = ["command-line-utilities"]
+repository = "https://codeberg.org/Anthrill/mesk.git"
+# or git.community.i2p/Namilsk/mesk
+
+[dependencies]
+clap = { version = "4.5.53", features = ["derive"] }
+toml = { version = "0.9.8", features = ["serde"] }
+serde = { version = "1.0.228", features = ["derive"] }
+tokio = { version = "1.48.0", features = ["full"] }
+reqwest = { version = "0.12.24", features = ["stream"] }
+emissary-util = { version = "0.3.0", features = ["tokio"], optional = true }
+emissary-core = { version = "0.3.0", optional = true }
+flate2 = "1.1.5"
+tar = "0.4.44"
+url = "2.5.7"
+indicatif = "0.18.3"
+futures-util = "0.3.31"
+num_cpus = "1.17.0"
+git2 = "0.19.0"
+gpgme = "0.11.0"
+glob = "0.3.3"
+lazy_static = "1.5.0"
+log = "0.4.28"
+
+[dev-dependencies]
+env_logger = "0.11.8"
+log = "0.4.28"
+mockito = "1.7.1"
+tempfile = "3.23.0"
+tokio-test = "0.4.4"
+uuid = { version = "1.19.0", features = ["v4"] }
+
+[feature]
+minimal = []
+integrated-router = ["dep:emissary-util", "dep:emissary-core"]
+default = ["minimal"]
+
+[profile.release]
+strip = true
+lto = true
+opt-level = 3
+codegen-units = 1