joularcore 0.1.0

Joular Core is a platform to measure power and energy across all systems, OSes and devices
Documentation
/*
 * Copyright (c) 2025-2026, Adel Noureddine.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the
 * GNU Lesser General Public License v3.0 only (LGPL-3.0-only)
 * which accompanies this distribution, and is available at
 * https://www.gnu.org/licenses/lgpl-3.0.en.html
 *
 * Author : Adel Noureddine
 */

use clap::ValueEnum;

#[derive(Clone, Copy, Debug, PartialEq, Eq, ValueEnum)]
pub enum Component {
    Cpu,
    Gpu,
}

pub mod args;
pub mod common;
pub mod cpu;
pub mod energy;
pub mod logging;
pub mod monitor;
pub mod output;
pub mod platform;
pub mod ringbuffer;

#[cfg(feature = "vm")]
pub mod vm;

#[cfg(feature = "api")]
pub mod api;