powerio 0.10.0

Compiler infrastructure for power systems: parse, convert, validate, and lower grid models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The `.pio.json` stored module: one versioned wire for `PioModule<PioValue>`.
//!
//! `.pio.json` is not a case format. The reader dispatches on the `schema`
//! and `version` header, then decodes the selected exact typed DTO; released
//! 0.9.x `NetworkPackage` documents upgrade one way, and the pre 0.9 lineage
//! is refused. There is one document version and no per value version.

mod convert;
mod dto;
pub(crate) mod legacy09;
mod upgrade;

pub use convert::{read_module, write_module};
pub use dto::{SCHEMA_NAME, SCHEMA_VERSION, StoredModuleV1, StoredValueV1};