cargo-expand
cargo-expand copied to clipboard
Make prettyplease version appear only if `--version --verbose` is used
https://github.com/dtolnay/cargo-expand/blob/1a43c1c0dbf06f8296144a21b1de181f797c94d2/build.rs#L9-L11
Current:
$ cargo expand --version
cargo-expand 1.0.25 + prettyplease 0.1.12
Desired:
$ cargo expand --version
cargo-expand 1.0.25
$ cargo expand --version --verbose
cargo-expand 1.0.25 + prettyplease 0.1.12