cargo-mate 1.7.6

Rust development companion that enhances cargo with intelligent workflows, state management, performance optimization, and comprehensive project monitoring.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use anyhow::Result;
use std::process::{Command, Stdio};
pub fn run_cargo_with_wrapper(args: &[&str]) -> Result<()> {
    let mut cmd = Command::new("cargo");
    cmd.args(args).stdout(Stdio::inherit()).stderr(Stdio::inherit());
    let status = cmd.status()?;
    if !status.success() {
        return Err(anyhow::anyhow!("Cargo command failed"));
    }
    Ok(())
}