Crate vex_api

Crate vex_api 

Source
Expand description

§VEX API

Industry-grade HTTP API gateway for VEX Protocol.

Features:

  • Axum-based web server
  • Tower middleware (auth, rate limit, tracing)
  • Circuit breaker pattern
  • OpenTelemetry-ready observability
  • JWT authentication
  • Graceful shutdown

Re-exports§

pub use auth::Claims;
pub use auth::JwtAuth;
pub use error::ApiError;
pub use error::ApiResult;
pub use server::ServerConfig;
pub use server::VexServer;

Modules§

auth
JWT-based authentication
circuit_breaker
Circuit breaker for resilient service calls
error
API error types with proper HTTP mapping
jobs
middleware
Tower middleware for VEX API
routes
API routes for VEX endpoints
sanitize
Input sanitization and validation for security
server
VEX API Server with graceful shutdown
state
Application State
telemetry
OpenTelemetry tracing configuration