cargo_version/
cargo-version.rs1use printable_shell_command::{PrintableShellCommand, ShellPrintable};
2
3fn main() {
4 assert!(PrintableShellCommand::new("cargo")
5 .arg("--version")
6 .print_invocation()
7 .unwrap()
8 .status()
9 .unwrap()
10 .success());
11}