2025-11-08 14:56:03 -07:00
|
|
|
#![no_main]
|
|
|
|
|
|
2025-11-12 17:39:11 -07:00
|
|
|
pub mod config;
|
2025-12-21 00:35:28 -07:00
|
|
|
mod error;
|
2025-11-09 12:34:52 -07:00
|
|
|
pub mod logger;
|
2025-11-08 14:56:03 -07:00
|
|
|
|
|
|
|
|
mod announcement;
|
|
|
|
|
|
2025-12-21 12:04:53 -07:00
|
|
|
pub use error::{ModuleError, Result};
|
2025-12-21 00:35:28 -07:00
|
|
|
|
2025-11-08 14:56:03 -07:00
|
|
|
pub use announcement::Announcement;
|
|
|
|
|
|
2026-01-26 09:47:40 -07:00
|
|
|
// Re-exports
|
|
|
|
|
pub use unshell_crypt;
|
|
|
|
|
pub use unshell_obfuscate;
|
|
|
|
|
|
2025-11-13 11:52:01 -07:00
|
|
|
// pub trait Component {
|
|
|
|
|
// fn name(&self) -> &'static str;
|
|
|
|
|
// // fn start_runtime(&self, manager: Arc<Mutex<Manager>>) -> Option<Box<dyn ModuleRuntime>>;
|
2025-11-12 17:39:11 -07:00
|
|
|
|
2025-11-13 11:52:01 -07:00
|
|
|
// fn get_interface(&self) -> Box<dyn Interface>;
|
|
|
|
|
// fn clone_box(&self) -> Box<dyn Component>;
|
|
|
|
|
// }
|
2025-11-08 14:56:03 -07:00
|
|
|
|
2025-11-13 11:52:01 -07:00
|
|
|
// impl Clone for Box<dyn Component> {
|
|
|
|
|
// fn clone(&self) -> Box<dyn Component> {
|
|
|
|
|
// self.clone_box()
|
|
|
|
|
// }
|
|
|
|
|
// }
|