How robjtede/actix-web-lab works
Main Components
a) Core Components:
• actix-web-lab (Main Package)
• actix-client-ip-cloudflare
• actix-hash
• actix-web-lab-derive
• russe (Server-Sent Events implementation)
┌─────────────────────────────────────────────┐
• actix-web-lab │
• ┌─────────────┐ ┌─────────────┐ │
• Middleware │ │ Extractors │ │
• ┘ └─────────────┘ │
• ┌─────────────┐ ┌─────────────┐ │
• Bodies │ │ Responses │ │
• ┘ └─────────────┘ │
• ┘
┌─────────────────┐ ┌─────────────────┐ ┌─────────┐
• IP Cloudflare │ │ actix-hash │ │ russe │
• Module │ │ Module │ │ (SSE) │
• ┘ └─────────────────┘ └─────────┘
Component Relationships
• Double lines for derive macro relationships
Implementation Details
a) Main Features:
• Body transformations
• SSE support
• CBOR/JSON/MessagePack handlers
• Middleware components
• Security features
b) Integration Points:
• Cloudflare IP detection
• Hash verification
• Custom extractors
Technical Notes
A section showing:
• Supported Rust versions
• Actix-web compatibility
• External dependencies