1#![warn(clippy::undocumented_unsafe_blocks)]
4
5#[cfg(all(feature = "jemalloc", not(windows)))]
6#[global_allocator]
7static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
8
9#[cfg(all(feature = "jemalloc", not(windows)))]
10#[allow(non_upper_case_globals)]
11#[unsafe(export_name = "malloc_conf")]
12pub static malloc_conf: &[u8] = b"background_thread:true,dirty_decay_ms:1000,muzzy_decay_ms:1000\0";
13
14pub mod compound_lexer;
18pub mod core;
19pub mod daemon;
20pub mod daemon_autostart;
21pub mod daemon_client;
22pub mod dashboard;
23pub mod dropin;
24pub mod engine;
25pub mod heatmap;
26pub mod hook_handlers;
27pub mod hooks;
28pub mod instructions;
29pub mod lsp;
30pub mod marked_block;
31pub mod mcp_stdio;
32pub mod rewrite_registry;
33pub mod rules_inject;
34pub mod server;
35pub mod shell;
36pub mod shell_hook;
37pub mod terminal_ui;
38pub mod token_report;
39pub mod tool_defs;
40pub mod tools;
41pub mod tui;
42
43#[cfg(feature = "gateway-server")]
47pub mod gateway_server;
48#[cfg(feature = "http-server")]
49pub mod proxy;
50pub mod proxy_autostart;
51pub mod proxy_setup;
52
53pub mod cloud_client;
57#[cfg(feature = "cloud-server")]
58pub mod cloud_server;
59pub mod cloud_sync;
60#[cfg(feature = "http-server")]
61pub mod http_server;
62
63pub mod cli;
67pub mod config_io;
68pub mod doctor;
69pub mod ipc;
70pub mod report;
71pub mod setup;
72pub mod status;
73#[cfg(test)]
74pub(crate) mod test_env;
75pub mod uninstall;
76pub mod wrap;