fallow_output/package_baselines.rs
1//! Applied package Git baselines shared by JSON reports and editor notifications.
2
3use serde::{Deserialize, Serialize};
4
5/// One applied baseline for an exact, project-relative workspace root.
6#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
7#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
8pub struct PackageBaselineStatus {
9 /// Workspace package root, relative to the analysis root with `/` separators.
10 pub workspace_root: String,
11 /// Git ref used to select changed files in this package.
12 pub reference: String,
13}