Skip to main content

localgpt_server/
lib.rs

1#[cfg(not(target_arch = "wasm32"))]
2mod http;
3#[cfg(not(target_arch = "wasm32"))]
4mod openai_compat;
5#[cfg(not(target_arch = "wasm32"))]
6mod rate_limiter;
7#[cfg(not(target_arch = "wasm32"))]
8pub mod telegram;
9#[cfg(not(target_arch = "wasm32"))]
10mod websocket;
11
12#[cfg(not(target_arch = "wasm32"))]
13pub mod security;
14
15#[cfg(not(target_arch = "wasm32"))]
16pub use http::Server;
17#[cfg(not(target_arch = "wasm32"))]
18pub use security::BridgeManager;
19#[cfg(not(target_arch = "wasm32"))]
20pub use security::HealthStatus;