perf-sentinel-core 0.7.8

Core library for perf-sentinel: polyglot performance anti-pattern detector
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Electricity Maps API integration for real-time carbon intensity.
//!
//! Polls the Electricity Maps API for current grid carbon intensity
//! (gCO2eq/kWh) per zone, providing higher-fidelity intensity values
//! than the embedded static tables.

pub mod config;
#[cfg(feature = "daemon")]
pub mod scraper;
#[cfg(feature = "daemon")]
pub mod state;

pub use config::{ElectricityMapsConfig, EmissionFactorType, TemporalGranularity};
#[cfg(feature = "daemon")]
pub use scraper::spawn_electricity_maps_scraper;
#[cfg(feature = "daemon")]
pub use state::ElectricityMapsState;