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