build: bump shadow to 0.10.0 & git2 to 0.14.2 (#3767)

This commit is contained in:
David Knaack
2022-03-20 02:01:57 +01:00
committed by GitHub
parent 47838d143b
commit 8d3bffdb6c
4 changed files with 32 additions and 16 deletions
+1 -6
View File
@@ -13,16 +13,11 @@ use starship::context::{Properties, Target};
use starship::module::ALL_MODULES;
use starship::*;
fn long_version() -> &'static str {
let ver = Box::new(crate::shadow::clap_long_version());
Box::leak(ver).as_str()
}
#[derive(Parser, Debug)]
#[clap(
author=crate_authors!(),
version=shadow::PKG_VERSION,
long_version=long_version(),
long_version=shadow::CLAP_LONG_VERSION,
about="The cross-shell prompt for astronauts. ☄🌌️",
subcommand_required=true,
arg_required_else_help=true,