huskies: merge 858
This commit is contained in:
@@ -4,6 +4,7 @@ use serde::Deserialize;
|
||||
use std::collections::HashSet;
|
||||
use std::path::Path;
|
||||
|
||||
/// Top-level project configuration loaded from `.huskies/project.toml`.
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct ProjectConfig {
|
||||
#[serde(default)]
|
||||
@@ -195,6 +196,7 @@ fn default_max_mesh_peers() -> usize {
|
||||
3
|
||||
}
|
||||
|
||||
/// Configuration for a project component (name, path, setup/teardown commands).
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
pub struct ComponentConfig {
|
||||
@@ -207,6 +209,7 @@ pub struct ComponentConfig {
|
||||
pub teardown: Vec<String>,
|
||||
}
|
||||
|
||||
/// Configuration for a single agent definition from `[[agent]]` in `project.toml`.
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct AgentConfig {
|
||||
#[serde(default = "default_agent_name")]
|
||||
|
||||
Reference in New Issue
Block a user