Move modules to individual projects. Change API syntax.

This commit is contained in:
Michael Mikovsky
2025-12-17 13:17:58 -07:00
parent 41c47048be
commit 6e73cb8a8e
22 changed files with 546 additions and 164 deletions
+5 -1
View File
@@ -1,3 +1,7 @@
mod blob;
pub use blob::Blob;
use std::{
collections::HashMap,
error::Error,
@@ -67,7 +71,7 @@ pub struct ComponentState {
pub fn load_config(path: &PathBuf) -> Result<Vec<ComponentState>, Box<dyn Error>> {
let path_absolute = fs::canonicalize(path.clone())?;
debug!("Loading data from path: `{}`", path_absolute);
debug!("Loading data from path: `{:?}`", path_absolute);
// Read string as path
let config_str = fs::read_to_string(path.clone())?;