pjson_rs/infrastructure/integration/
mod.rs

1// Clean Universal Framework Integration Layer
2//
3// This module provides a unified interface for integrating PJS with any
4// Rust web framework through zero-cost GAT abstractions.
5//
6// ARCHITECTURE: Clean and simple - no over-engineering, just what's needed.
7
8// Core streaming adapter - contains all consolidated types
9pub mod streaming_adapter;
10
11// Framework-specific adapters
12pub mod universal_adapter;
13
14// Performance optimizations (imported by streaming_adapter)
15pub mod object_pool;
16pub mod simd_acceleration;
17
18// Re-export all core types and traits from streaming_adapter
19pub use streaming_adapter::{
20    IntegrationError, IntegrationResult, ResponseBody, StreamingAdapter, StreamingAdapterExt,
21    StreamingFormat, UniversalRequest, UniversalResponse, streaming_helpers,
22};
23
24// Re-export universal adapter types
25pub use universal_adapter::{AdapterConfig, UniversalAdapter};