code_mesh_core/
features.rs

1//! Feature flags for Code Mesh Core
2
3/// Whether compression support is available
4pub const HAS_COMPRESSION: bool = cfg!(feature = "compression");
5
6/// Whether file watching support is available
7pub const HAS_FILE_WATCHING: bool = cfg!(feature = "file-watching");
8
9/// Whether advanced crypto support is available
10pub const HAS_ADVANCED_CRYPTO: bool = cfg!(feature = "crypto");
11
12/// Whether tokio runtime is available
13pub const HAS_TOKIO: bool = cfg!(feature = "native");
14
15/// Whether WASM support is available
16pub const HAS_WASM: bool = cfg!(feature = "wasm");
17
18/// Whether web support is available
19pub const HAS_WEB: bool = cfg!(feature = "web");
20
21/// Whether OpenAI support is available
22pub const HAS_OPENAI: bool = cfg!(feature = "openai");
23
24/// Whether Anthropic support is available
25pub const HAS_ANTHROPIC: bool = cfg!(feature = "anthropic");
26
27/// Whether Mistral support is available
28pub const HAS_MISTRAL: bool = cfg!(feature = "mistral");