1#![allow(dead_code)]
10
11#[cfg(feature = "hotpath-meta")]
12#[doc(inline)]
13pub use lib_on::*;
14#[cfg(feature = "hotpath-meta")]
15mod lib_on;
16
17#[cfg(feature = "hotpath-meta")]
18pub use lib_on::channels;
19#[cfg(feature = "hotpath-meta")]
20pub use lib_on::data_flow;
21#[cfg(feature = "hotpath-meta")]
22pub use lib_on::futures;
23#[cfg(feature = "hotpath-meta")]
24pub use lib_on::streams;
25#[cfg(all(feature = "hotpath-meta", feature = "threads"))]
26pub use lib_on::threads;
27#[cfg(all(feature = "hotpath-meta", feature = "tokio"))]
28pub use lib_on::tokio_runtime;
29
30#[cfg(any(feature = "hotpath-meta", feature = "tui"))]
31pub(crate) mod output;
32#[cfg(feature = "hotpath-meta")]
33pub use output::format_debug_truncated;
34#[cfg(any(feature = "hotpath-meta", feature = "tui"))]
35pub use output::{
36 ceil_char_boundary, floor_char_boundary, format_bytes, format_count, format_duration,
37 parse_bytes, parse_count, parse_duration, shorten_function_name, OutputDestination,
38 ProfilingMode, MAX_LOG_LEN,
39};
40
41#[cfg(feature = "hotpath-meta")]
42pub(crate) mod output_on;
43
44#[cfg(feature = "hotpath-meta")]
45pub(crate) mod metrics_server;
46
47#[cfg(feature = "hotpath-mcp-meta")]
48pub(crate) mod mcp_server;
49
50#[allow(dead_code)]
51#[cfg(any(feature = "hotpath-meta", feature = "tui"))]
52pub mod json;
53#[cfg(any(feature = "hotpath-meta", feature = "tui"))]
54pub use json::Route;
55
56#[cfg(feature = "hotpath-meta")]
57pub(crate) mod instant;
58#[cfg(feature = "hotpath-meta")]
59pub(crate) mod tid;
60
61#[cfg(not(feature = "hotpath-meta"))]
62#[doc(inline)]
63pub use lib_off::*;
64#[cfg(not(feature = "hotpath-meta"))]
65mod lib_off;
66
67#[cfg(not(feature = "hotpath-meta"))]
68pub use lib_off::channels;
69#[cfg(not(feature = "hotpath-meta"))]
70pub use lib_off::futures;
71#[cfg(not(feature = "hotpath-meta"))]
72pub use lib_off::streams;
73#[cfg(not(feature = "hotpath-meta"))]
74pub use lib_off::threads;
75
76mod shared;
77pub use shared::{Format, IntoF64, Section};