From 3271dfc977cc5841731594c308e19aae575c685d Mon Sep 17 00:00:00 2001 From: namilsk Date: Wed, 11 Feb 2026 11:38:48 +0300 Subject: Added build features which allows you remove integrated router, code refactoring coming soon --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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 -- cgit v1.2.3