apollo_proc_macros 0.19.0-rc.2

Wrapper crate for the apollo_proc_macros_lib
Documentation
1
2
3
4
5
6
7
8
9
10
use std::sync::OnceLock;

// TODO(Shahak): consider making this value non static and add a way to change this while the app is
// running. e.g via a monitoring endpoint.
/// Global variable set by the main config to enable collecting profiling metrics.
pub static COLLECT_PROFILING_METRICS: OnceLock<bool> = OnceLock::new();

pub use apollo_proc_macros_lib::*;
// Re-export for use in downstream crates.
pub use metrics;