#[cfg(all(
feature = "hotpath-cpu",
not(any(target_os = "macos", target_os = "linux"))
))]
compile_error!("the `hotpath-cpu` feature is only supported on macOS and Linux");
#[cfg(feature = "hotpath")]
#[doc(inline)]
pub use lib_on::*;
#[cfg(feature = "hotpath")]
mod lib_on;
#[cfg(feature = "hotpath")]
pub use lib_on::channels;
#[cfg(feature = "hotpath")]
pub use lib_on::futures;
#[cfg(feature = "hotpath")]
pub use lib_on::streams;
#[cfg(all(feature = "hotpath", feature = "threads"))]
pub use lib_on::threads;
#[cfg(all(feature = "hotpath", feature = "tokio"))]
pub use lib_on::tokio_runtime;
#[cfg(any(feature = "hotpath", feature = "utils", feature = "tui"))]
pub(crate) mod output;
#[cfg(feature = "hotpath")]
pub use output::format_debug_truncated;
#[cfg(any(feature = "hotpath", feature = "utils", feature = "tui"))]
pub use output::{
ceil_char_boundary, floor_char_boundary, format_bytes, format_count, format_duration,
format_percentile_header, format_percentile_key, parse_bytes, parse_count, parse_duration,
shorten_function_name, OutputDestination, ProfilingMode, MAX_LOG_LEN,
};
#[cfg(feature = "hotpath")]
pub(crate) mod output_on;
#[cfg(feature = "hotpath")]
pub(crate) mod metrics_server;
#[cfg(feature = "hotpath-mcp")]
pub(crate) mod mcp_server;
#[allow(dead_code)]
#[cfg(any(feature = "hotpath", feature = "utils", feature = "tui"))]
pub mod json;
#[cfg(any(feature = "hotpath", feature = "utils", feature = "tui"))]
pub use json::Route;
#[cfg(feature = "hotpath")]
pub(crate) mod instant;
#[cfg(feature = "hotpath")]
pub(crate) mod tid;
#[cfg(not(feature = "hotpath"))]
#[doc(inline)]
pub use lib_off::*;
#[cfg(not(feature = "hotpath"))]
mod lib_off;
#[cfg(not(feature = "hotpath"))]
pub use lib_off::channels;
#[cfg(not(feature = "hotpath"))]
pub use lib_off::futures;
#[cfg(not(feature = "hotpath"))]
pub use lib_off::streams;
#[cfg(not(feature = "hotpath"))]
pub use lib_off::threads;
mod shared;
pub use shared::{env_flag, Format, IntoF64, Section};
#[doc(hidden)]
pub mod dev_logging;