huskies: merge 1177 bug project.toml scaffold puts top-level keys after [[component]] so uncommenting them silently no-ops
This commit is contained in:
@@ -246,7 +246,13 @@ fn default_max_mesh_peers() -> usize {
|
||||
}
|
||||
|
||||
/// Configuration for a project component (name, path, setup/teardown commands).
|
||||
///
|
||||
/// `deny_unknown_fields` turns a top-level setting that lands inside a
|
||||
/// `[[component]]` table (e.g. because it was placed below the last
|
||||
/// `[[component]]` header) into a hard parse error instead of a silently
|
||||
/// dropped key.
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
#[allow(dead_code)]
|
||||
pub struct ComponentConfig {
|
||||
pub name: String,
|
||||
|
||||
Reference in New Issue
Block a user