forked from frequenz-floss/frequenz-microgrid-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlib.rs
More file actions
40 lines (29 loc) · 752 Bytes
/
lib.rs
File metadata and controls
40 lines (29 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// License: MIT
// Copyright © 2025 Frequenz Energy-as-a-Service GmbH
//! High-level interface for the Microgrid API.
#![cfg_attr(
not(test),
deny(
clippy::unwrap_used,
clippy::expect_used,
clippy::panic,
clippy::unimplemented,
clippy::todo,
clippy::unreachable,
)
)]
mod bounds;
pub use bounds::Bounds;
pub mod client;
pub use client::MicrogridClientHandle;
mod error;
pub use error::{Error, ErrorKind};
pub mod quantity;
mod sample;
pub use sample::Sample;
mod logical_meter;
pub use logical_meter::{Formula, FormulaSubscriber, LogicalMeterConfig, LogicalMeterHandle};
pub mod metric;
pub(crate) mod wall_clock_timer;
mod microgrid;
pub use microgrid::{BatteryPool, Microgrid};