pub struct WorkspaceConfig {
pub name: String,
pub crates: Vec<CrateConfig>,
pub changelog: Option<ChangelogConfig>,
pub signs: Vec<SignConfig>,
pub binary_signs: Vec<SignConfig>,
pub before: Option<HooksConfig>,
pub after: Option<HooksConfig>,
pub env: Option<Vec<String>>,
pub skip: Vec<String>,
}Expand description
A workspace represents an independent project root within a monorepo. Each workspace has its own crates, changelog, and release configuration, allowing independently-versioned components that aren’t Cargo workspace members.
Fields§
§name: StringWorkspace identifier used in logs and template variables.
crates: Vec<CrateConfig>Crates belonging to this workspace.
changelog: Option<ChangelogConfig>Changelog configuration for this workspace.
signs: Vec<SignConfig>Signing configurations for binaries, archives, and checksums.
binary_signs: Vec<SignConfig>Binary-specific signing configs (same shape as signs but only for
binary artifacts). The artifacts field on each entry is constrained
at parse time to binary / none (or omitted) — a broader filter on
binary_signs would silently match nothing because the loop only
iterates Binary artifacts. Constraint lives in deserialize_binary_signs.
before: Option<HooksConfig>Hooks run before this workspace’s pipeline starts.
after: Option<HooksConfig>Hooks run after this workspace’s pipeline completes.
env: Option<Vec<String>>Environment variables scoped to this workspace.
List of KEY=VALUE strings. Order is preserved.
Values are template-rendered at pipeline startup.
skip: Vec<String>Pipeline stages to skip when releasing this workspace.
Stage names match the CLI --skip flag (e.g., announce, publish).
Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Source§fn clone(&self) -> WorkspaceConfig
fn clone(&self) -> WorkspaceConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkspaceConfig
impl Debug for WorkspaceConfig
Source§impl Default for WorkspaceConfig
impl Default for WorkspaceConfig
Source§fn default() -> WorkspaceConfig
fn default() -> WorkspaceConfig
Source§impl<'de> Deserialize<'de> for WorkspaceConfigwhere
WorkspaceConfig: Default,
impl<'de> Deserialize<'de> for WorkspaceConfigwhere
WorkspaceConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for WorkspaceConfig
impl JsonSchema for WorkspaceConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more