implement driver loading

This commit is contained in:
2025-10-12 22:39:56 -07:00
parent ea5737c6d0
commit aba53c0d2b
3 changed files with 78 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
use crate::actions::ActionDeclaration;
use crate::drivers::DriverDeclaration;
use crate::generators::GeneratorDeclaration;
use crate::utils;
use anyhow::Context;
@@ -13,6 +14,8 @@ pub struct RootConfiguration {
#[serde(default)]
pub values: BTreeMap<String, String>,
#[serde(default)]
pub drivers: BTreeMap<String, DriverDeclaration>,
#[serde(default)]
pub actions: BTreeMap<String, ActionDeclaration>,
#[serde(default)]
pub entries: BTreeMap<String, EntryDeclaration>,