metrology_insight 0.1.0

Embedded-first electrical metrology DSP library in Rust. Pre-compliance implementation of measurement algorithms derived from IEC 61000-4-30:2021 Class S and IEC 62053-21, fully no_std + alloc compatible.
Documentation
//! Embedded-first electrical metrology DSP library (IEC 61000-4-30 Class S, IEC 62053-21).
//!
// Copyright © 2026 Francisco Arcos.
// SPDX-License-Identifier: Apache-2.0

#![cfg_attr(not(feature = "std"), no_std)]

extern crate alloc;

pub mod channel_map;
pub mod detector;
pub mod energy;
pub mod events;
pub mod filters;
pub mod flicker;
pub mod harmonics;
pub mod math;
pub mod oscillography;
pub mod phase;
pub mod pll;
pub mod power;
pub mod print;
pub mod processing;
pub mod resampling;
pub mod rvc;
pub mod signal;
pub mod types;
pub mod unbalance;
pub mod urms;
pub mod voltage_current;
pub mod windowing;

#[cfg(feature = "alloc")]
pub mod accuracy_test;
#[cfg(feature = "alloc")]
pub mod generate_signal;

pub use energy::*;
pub use events::*;
pub use harmonics::*;
pub use oscillography::*;
pub use phase::*;
pub use power::*;
pub use print::*;
pub use rvc::*;
pub use signal::*;
pub use types::*;
pub use unbalance::*;