diff --git a/Cargo.lock b/Cargo.lock index c6286d0..5b4fe1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -225,9 +225,7 @@ dependencies = [ "serde_json", "sha1", "sha2", - "thiserror 2.0.18", "tokio", - "tower", "tracing", "tracing-subscriber", "urlencoding", diff --git a/Cargo.toml b/Cargo.toml index 259e93f..cc69e40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ default = ["mcp", "http"] # MCP server (stdio + streamable HTTP) — used by the standalone binary mcp = ["dep:rmcp"] # HTTP server (axum) — used by the standalone binary and optionally by embedders -http = ["dep:axum", "dep:tower"] +http = ["dep:axum"] [dependencies] # Async runtime @@ -32,7 +32,6 @@ serde_json = "1.0" # Error handling anyhow = "1.0" -thiserror = "2.0" # Logging tracing = "0.1" @@ -65,7 +64,6 @@ urlencoding = "2.1" # HTTP server (for munbot integration or standalone HTTP mode) axum = { version = "0.8", optional = true, default-features = false, features = ["http1", "json", "tokio"] } -tower = { version = "0.5", optional = true, default-features = false } # XML parsing (EC2 / RDS / CloudWatch responses) quick-xml = "0.37" diff --git a/src/clouds/aws/cloudwatch_logs.rs b/src/clouds/aws/cloudwatch_logs.rs index c2981f7..30ae5f3 100644 --- a/src/clouds/aws/cloudwatch_logs.rs +++ b/src/clouds/aws/cloudwatch_logs.rs @@ -1,8 +1,8 @@ use anyhow::{anyhow, Result}; use futures::future::join_all; -use super::common::list_regions; use super::auth::{sign, AwsCreds}; +use super::common::list_regions; // ── Public types ────────────────────────────────────────────────────────────── diff --git a/src/clouds/aws/ec2.rs b/src/clouds/aws/ec2.rs index 3fa53e8..e01bce9 100644 --- a/src/clouds/aws/ec2.rs +++ b/src/clouds/aws/ec2.rs @@ -3,11 +3,7 @@ use chrono::{DateTime, Utc}; use futures::future::join_all; use super::common::{ec2_query, form_params, list_regions}; -use super::{ - as_items, - auth::AwsCreds, - az_to_region, xml_to_value, -}; +use super::{as_items, auth::AwsCreds, az_to_region, xml_to_value}; // ── Public types ──────────────────────────────────────────────────────────────