mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-10-31 18:52:29 +00:00
build: bump shadow-rs from 0.8.1 to 0.9.0 (#3648)
This commit is contained in:
parent
38fce2e6b0
commit
2119938692
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1570,9 +1570,9 @@ checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012"
|
||||
|
||||
[[package]]
|
||||
name = "shadow-rs"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8935e920eb80ff8f5a5bced990325d12f6cc1015154a3852c6a23cf5bd71c447"
|
||||
checksum = "38aacac9d96bfdac3f00d2149fc2235f99b839f54f0bb18bea39c7749c97f709"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"git2",
|
||||
|
@ -55,7 +55,7 @@ semver = "1.0.6"
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
serde_json = "1.0.79"
|
||||
sha-1 = "0.10.0"
|
||||
shadow-rs = "0.8.1"
|
||||
shadow-rs = "0.9.0"
|
||||
# battery is optional (on by default) because the crate doesn't currently build for Termux
|
||||
# see: https://github.com/svartalf/rust-battery/issues/33
|
||||
starship-battery = { version = "0.7.9", optional = true }
|
||||
@ -83,7 +83,7 @@ winapi = { version = "0.3.9", features = ["winuser", "securitybaseapi", "process
|
||||
nix = "0.23.1"
|
||||
|
||||
[build-dependencies]
|
||||
shadow-rs = "0.8.1"
|
||||
shadow-rs = "0.9.0"
|
||||
|
||||
[target.'cfg(windows)'.build-dependencies]
|
||||
winres = "0.1.12"
|
||||
|
@ -13,7 +13,7 @@ use starship::module::ALL_MODULES;
|
||||
use starship::*;
|
||||
|
||||
fn long_version() -> &'static str {
|
||||
let ver = Box::new(crate::shadow::clap_version());
|
||||
let ver = Box::new(crate::shadow::clap_long_version());
|
||||
Box::leak(ver).as_str()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user