chore(crates): introduce new config crate for sprout configuration

This commit is contained in:
alex committed 2025-11-02 23:28:31 -05:00
1 parent ccc75a2e14
commit ed3bfb77c4
39 files changed
+452 -379

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
use serde::{Deserialize, Serialize};
/// Declares a driver configuration.
/// Drivers allow extending the functionality of Sprout.
/// Drivers are loaded at runtime and can provide extra functionality like filesystem support.
/// Drivers are loaded by their name, which is used to reference them in other concepts.
#[derive(Serialize, Deserialize, Debug, Default, Clone)]
pub struct DriverDeclaration {
/// The filesystem path to the driver.
/// This file should be an EFI executable that can be located and executed.
pub path: String,
}