feagi_api/transports/mod.rs
1// Copyright 2025 Neuraville Inc.
2// SPDX-License-Identifier: Apache-2.0
3
4// Transport adapters for HTTP, ZMQ, and WASM
5
6// http module is always available (for ApiState), but server/router code is conditional
7#[cfg(feature = "http")]
8pub mod http;
9#[cfg(not(feature = "http"))]
10pub mod http {
11 // Minimal http module for ApiState when http feature is disabled
12 pub mod server;
13}
14#[cfg(not(feature = "http"))]
15pub mod wasm;
16#[cfg(feature = "zmq")]
17pub mod zmq;