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#[cfg(not(target_arch = "wasm32"))]
15pub mod tls;
16
17#[cfg(not(target_arch = "wasm32"))]
18pub use http::Server;
19#[cfg(not(target_arch = "wasm32"))]
20pub use security::BridgeManager;
21#[cfg(not(target_arch = "wasm32"))]
22pub use security::HealthStatus;