llm_edge_proxy/
lib.rs

1//! Core HTTP proxy functionality for LLM Edge Agent
2//!
3//! This crate provides the foundational proxy server capabilities including:
4//! - TLS termination with Rustls
5//! - Request/response handling
6//! - Protocol detection (HTTP/1.1, HTTP/2, gRPC)
7//! - Middleware integration points (auth, rate limiting, timeout)
8//! - Health checks and metrics endpoints
9//! - OpenTelemetry tracing integration
10
11pub mod config;
12pub mod error;
13pub mod middleware;
14pub mod server;
15
16pub use config::Config;
17pub use error::{ProxyError, ProxyResult};
18pub use server::{build_app, create_router, serve};
19
20#[cfg(test)]
21mod tests {
22    #[test]
23    fn test_placeholder() {
24        assert_eq!(2 + 2, 4);
25    }
26}