1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! APR Federation - Smart Model Routing & Catalog
//!
//! Enterprise-grade model federation for distributed inference.
//!
//! ## Architecture
//!
//! ```text
//! ┌─────────────────┐
//! │ Gateway │
//! │ (Router) │
//! └────────┬────────┘
//! │
//! ┌────────────────────┼────────────────────┐
//! ▼ ▼ ▼
//! ┌──────────┐ ┌──────────┐ ┌──────────┐
//! │ Region A │ │ Region B │ │ Region C │
//! └──────────┘ └──────────┘ └──────────┘
//! ```
//!
//! ## Design Principles
//!
//! 1. **Capability-based routing** - Route by what models can do, not where they are
//! 2. **Policy-driven** - Latency, cost, privacy, compliance as first-class citizens
//! 3. **Zero-copy where possible** - Streaming responses without buffering
//! 4. **Graceful degradation** - Circuit breakers, fallbacks, retries
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use *;