fix: Gates for server feature are placed correctly
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
@@ -34,7 +34,6 @@ pub mod compression_engine;
|
||||
pub mod config;
|
||||
pub mod services;
|
||||
pub mod db;
|
||||
#[cfg(feature = "server")]
|
||||
pub mod meta_plugin;
|
||||
pub mod modes;
|
||||
pub mod plugins;
|
||||
@@ -56,14 +55,14 @@ use filter_plugin::{
|
||||
|
||||
// Import all meta plugins to ensure they register themselves
|
||||
#[allow(unused_imports)]
|
||||
use meta_plugin::{
|
||||
use crate::meta_plugin::{
|
||||
cwd, text, user, shell, shell_pid, keep_pid, digest,
|
||||
read_time, read_rate, hostname, exec, env
|
||||
};
|
||||
|
||||
#[cfg(feature = "magic")]
|
||||
#[allow(unused_imports)]
|
||||
use meta_plugin::magic_file;
|
||||
use crate::meta_plugin::magic_file;
|
||||
|
||||
/// Initializes plugins at library load time.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user