summaryrefslogtreecommitdiff
path: root/Cargo.toml
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 /Cargo.toml
parent14961088a9da16bb1f244f26aaefcadfe07fc8a9 (diff)
Added build features which allows you remove integrated router, code refactoring coming soon
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml9
1 files changed, 7 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2748af4..9e90acc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,8 +15,8 @@ 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"] }
-emissary-core = "0.3.0"
+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"
@@ -37,6 +37,11 @@ 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