rename field for serde so can use app in apps.toml because it makes more sense to call an app an app instead of an apps

master
rascul 2 years ago
parent 43adda0990
commit 13120f099c

@ -16,6 +16,7 @@ use crate::result::Result;
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub struct Apps { pub struct Apps {
/// List of apps to start and monitor /// List of apps to start and monitor
#[serde(rename = "app")]
apps: Vec<App>, apps: Vec<App>,
} }

Loading…
Cancel
Save