feat: Add type and module reorganization for Services, Modes, Meta and Filter Plugins

Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-09-10 09:39:22 -03:00
parent eaf47d7fed
commit 832330f31b
8 changed files with 211 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ ctor = "0.2"
directories = "6.0.0"
dns-lookup = "2.0.2"
enum-map = "2.6.1"
flate2 = { version = "1.0.27", features = ["zlib-ng-compat"] }
flate2 = { version = "1.0.27", features = ["zlib-ng-compat"], optional = true }
futures = "0.3"
gethostname = "1.0.2"
humansize = "2.1.3"
@@ -34,8 +34,8 @@ lazy_static = "1.4.0"
libc = "0.2.147"
local-ip-address = "0.6.5"
log = "0.4.19"
lz4_flex = "0.11.1"
magic = "0.13.0"
lz4_flex = { version = "0.11.1", optional = true }
magic = { version = "0.13.0", optional = true }
nix = "0.30.1"
once_cell = "1.19.0"
comfy-table = "7.2.0"
@@ -67,7 +67,24 @@ strip-ansi-escapes = "0.2.1"
pest = "2.8.1"
pest_derive = "2.8.1"
[features]
# Default features include core compression engines
default = ["gzip", "lz4"]
# Compression features
gzip = ["flate2"]
lz4 = ["lz4_flex"]
bzip2 = []
xz = []
zstd = []
# Plugin features (meta and filter)
all-meta-plugins = ["magic"]
all-filter-plugins = []
# Individual plugin features
magic = ["magic"]
[dev-dependencies]
tempfile = "3.3.0"
rand = "0.8.5"