1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

use super::{CommandConfig, KillBehavior};

#[non_exhaustive]
#[derive(Deserialize, Serialize, Debug)]
pub struct RunConfig {
    pub commands: Vec<CommandConfig>,
    pub max_label_length: usize,
    pub envs: Option<HashMap<String, String>>,
    #[serde(default)]
    pub kill: KillBehavior,
}