Skip to main content

Crate cargo_rail

Crate cargo_rail 

Source
Expand description

Rust monorepo orchestration: CI optimization, dependency unification, release automation.

Re-exports§

pub use error::RailError;
pub use error::RailResult;

Modules§

backup
Backup and restore for undo operations. Backup and restore functionality for cargo-rail operations
cargo
Cargo workspace metadata and manifest operations. Cargo workspace operations - CLEAN implementation
change_detection
Git-based change classification. Advanced change detection and classification
commands
CLI command implementations. CLI commands for cargo-rail
config
Configuration file parsing. Configuration for cargo-rail
error
Error types and result aliases. Error handling with contextual messages and CI-friendly exit codes.
git
Git operations via system git. Git operations and commit mapping storage.
graph
Dependency graph analysis. Graph-aware workspace analysis
output
Centralized output control (quiet mode, progress messages). Centralized output control for CLI commands.
release
Release planning and publishing. Release automation for cargo-rail
split
Crate extraction to standalone repos. Extract crates from monorepo to standalone repositories.
sync
Bidirectional monorepo sync. Bidirectional sync between monorepo and split repositories.
targets
Target triple detection. Target triple detection for workspace validation
test
Test runner integration. Test runner infrastructure
toml
TOML editing utilities. TOML manipulation and formatting library
utils
Shared utilities. Utility functions for cross-platform path handling
workspace
Unified workspace context. Workspace context and state management

Macros§

error
Print an error message to stderr.
help
Print a help hint to stderr.
note
Print a note to stderr.
progress
Alias for status!. Use whichever reads better in context.
status
Print a status/progress message to stderr.
warn
Print a warning message to stderr.