soma_provider_adapters/
lib.rs1#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5#![forbid(unsafe_code)]
16
17pub mod error;
18pub mod manifest_file;
19
20#[cfg(any(feature = "python", feature = "wasm"))]
21mod broker_state;
22#[cfg(any(feature = "python", feature = "wasm"))]
23mod secret_name;
24
25#[cfg(feature = "sidecar")]
26pub mod sidecar;
27
28#[cfg(feature = "static-echo")]
29pub mod static_rust;
30
31#[cfg(feature = "ai-sdk")]
32pub mod ai_sdk;
33
34#[cfg(feature = "python")]
35pub mod python;
36#[cfg(feature = "python")]
37mod python_bridge;
38#[cfg(feature = "python")]
39pub mod python_protocol;
40
41#[cfg(feature = "wasm")]
42pub mod wasm;
43
44#[cfg(any(feature = "python", feature = "wasm"))]
47pub fn configure_provider_state_path(path: std::path::PathBuf) -> Result<(), String> {
48 broker_state::configure(path)
49}
50#[cfg(feature = "wasm")]
51mod wasm_limits;
52#[cfg(feature = "wasm")]
53mod wasm_memory;
54
55#[cfg(feature = "openapi")]
56pub mod openapi;
57
58#[cfg(feature = "codemode")]
59pub mod codemode;
60
61#[cfg(feature = "gateway")]
62pub mod gateway;
63
64pub const VERSION: &str = env!("CARGO_PKG_VERSION");