#![allow(dead_code)]
#![allow(unused_imports)]
use axum::{extract::Request, http::StatusCode, middleware::Next, response::Response};

/// Middleware for general rate limiting
/// NOTE: Currently a stub implementation. TODO: Implement IP-based rate limiting
pub async fn general_rate_limit_middleware(
    req: Request,
    next: Next,
) -> Result<Response, StatusCode> {
    // TODO: Implement proper rate limiting with IP-based tracking
    // For now, just pass through
    Ok(next.run(req).await)
}

/// Middleware for auth endpoint rate limiting
/// NOTE: Currently a stub implementation. TODO: Implement IP-based rate limiting
pub async fn auth_rate_limit_middleware(req: Request, next: Next) -> Result<Response, StatusCode> {
    // TODO: Implement proper rate limiting with IP-based tracking
    // For now, just pass through
    Ok(next.run(req).await)
}
