diff --git a/Cargo.toml b/Cargo.toml index b7b212a..5d16057 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,8 @@ keywords = ["mt5", "mql5", "trading", "mcp", "backtest"] categories = ["finance", "development-tools"] homepage = "https://github.com/masdevid/mt5-quant" documentation = "https://github.com/masdevid/mt5-quant" + +[package.metadata] maintenance = { status = "actively-developed" } [[bin]] diff --git a/src/mcp_server.rs b/src/mcp_server.rs index 9a19391..91ee386 100644 --- a/src/mcp_server.rs +++ b/src/mcp_server.rs @@ -4,6 +4,7 @@ use tokio::sync::{mpsc, Mutex}; use crate::{models::Config as ModelsConfig, tools::ToolHandler, McpError, McpRequest, McpResponse}; +#[allow(dead_code)] type NotificationCallback = Arc; /// Auto-verify result stored after first initialization @@ -59,6 +60,7 @@ impl McpServer { *handler_guard = Some(new_handler); } + #[allow(dead_code)] pub async fn get_notification_sender(&self) -> Option> { let guard = self.notification_tx.lock().await; guard.clone() diff --git a/src/tools/handlers/mod.rs b/src/tools/handlers/mod.rs index 3349aa7..cc37e80 100644 --- a/src/tools/handlers/mod.rs +++ b/src/tools/handlers/mod.rs @@ -179,6 +179,7 @@ pub(crate) fn dir_size(path: &Path) -> u64 { .sum() } +#[allow(dead_code)] pub(crate) fn past_complete_month() -> (String, String) { let now = chrono::Utc::now(); let today = chrono::NaiveDate::from_ymd_opt(now.year(), now.month(), 1)