feat: Add magic file meta plugin and fix build errors

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

View File

@@ -1,3 +1,7 @@
#![deny(clippy::all)]
#![deny(unsafe_code)]
#![allow(unused_imports)]
// Re-export modules for testing
pub mod common;
pub mod compression_engine;
@@ -10,7 +14,6 @@ pub mod modes;
pub mod plugins;
pub mod args;
pub mod parser;
pub mod utils;
// Re-export Args struct for library usage
pub use args::Args;
@@ -26,7 +29,7 @@ use filter_plugin::{
// Import all meta plugins to ensure they register themselves
#[allow(unused_imports)]
use meta_plugin::{
magic, cwd, text, user, shell, shell_pid, keep_pid, digest,
magic_file, cwd, text, user, shell, shell_pid, keep_pid, digest,
read_time, read_rate, hostname, exec, env
};