crate-cli 10.8.0

A command-line tool for managing Cargo package lifecycles: version bump, workspace dependency sync, members-ordered publish and code formatting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

/// Result of a sync operation: which entries were rewritten.
#[derive(Clone, Debug, Eq, Getter, New, PartialEq)]
pub struct SyncReport {
    /// Workspace version that was applied to every member entry.
    pub(crate) workspace_version: String,
    /// Pair of (old dep LHS, new dep LHS) for entries whose dep alias
    /// was renamed to match the member's actual `[package].name`.
    pub(crate) renamed_entries: Vec<(String, String)>,
    /// Pair of (member path, new dep LHS) for entries whose version
    /// literal was rewritten to `workspace_version`.
    pub(crate) versioned_entries: Vec<(String, String)>,
    /// `true` if the workspace Cargo.toml was mutated by this run.
    #[get(type(copy))]
    pub(crate) file_changed: bool,
}