rspack_util 0.7.11

rspack util
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::sync::LazyLock;

// contain all tracing info and used for detailed analysis for rspack developers
pub static TRACING_ALL_PRESET: &str = "trace";
// contain tracing info useful for rspack users
pub static TRACING_OVERVIEW_PRESET: &str = "info";

// only contain most important tracing info useful for rspack benchmark, don't add too much noise here
pub static TRACING_BENCH_PRESET: LazyLock<String> =
  LazyLock::new(|| format!("off,{TRACING_BENCH_TARGET}=info"));

pub static TRACING_BENCH_TARGET: &str = "rspack_compilation_main";