fix: Correct module paths and conditional compilation for magic feature

Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-09-10 10:11:25 -03:00
parent c24728202d
commit a0e0126ff3
4 changed files with 12 additions and 4 deletions

View File

@@ -29,7 +29,9 @@ use filter_plugin::{
// Import all meta plugins to ensure they register themselves
#[allow(unused_imports)]
use meta_plugin::{
magic_file, cwd, text, user, shell, shell_pid, keep_pid, digest,
#[cfg(feature = "magic")]
magic_file,
cwd, text, user, shell, shell_pid, keep_pid, digest,
read_time, read_rate, hostname, exec, env
};