build(deps): update rust crate shadow-rs to v2 (#7419)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-04-26 12:38:50 +02:00
committed by GitHub
parent c97455d9de
commit fcfff68089
2 changed files with 5 additions and 43 deletions
Generated
+3 -41
View File
@@ -2438,15 +2438,6 @@ dependencies = [
"autocfg", "autocfg",
] ]
[[package]]
name = "num_threads"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "objc2" name = "objc2"
version = "0.6.4" version = "0.6.4"
@@ -3430,14 +3421,13 @@ dependencies = [
[[package]] [[package]]
name = "shadow-rs" name = "shadow-rs"
version = "1.7.1" version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c798acfc78a69c7b038adde44084d8df875555b091da42c90ae46257cdcc41a" checksum = "1dd39b4b2077bd36e60ca28c31d494046e747759cb9b507a7d177bb64787c39e"
dependencies = [ dependencies = [
"const_format", "const_format",
"is_debug", "is_debug",
"time", "jiff",
"tzdb",
] ]
[[package]] [[package]]
@@ -3784,9 +3774,7 @@ checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
dependencies = [ dependencies = [
"deranged", "deranged",
"itoa", "itoa",
"libc",
"num-conv", "num-conv",
"num_threads",
"powerfmt", "powerfmt",
"serde_core", "serde_core",
"time-core", "time-core",
@@ -3931,32 +3919,6 @@ version = "1.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de"
[[package]]
name = "tz-rs"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fc6c929ffa10fb34f4a3c7e9a73620a83ef2e85e47f9ec3381b8289e6762f42"
[[package]]
name = "tzdb"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56d4e985b6dda743ae7fd4140c28105316ffd75bc58258ee6cc12934e3eb7a0c"
dependencies = [
"iana-time-zone",
"tz-rs",
"tzdb_data",
]
[[package]]
name = "tzdb_data"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "125a0a63c4bd75c73f61863463cb400db4b1aa5039b203b0ee1d628a7e3dabb2"
dependencies = [
"tz-rs",
]
[[package]] [[package]]
name = "ucd-trie" name = "ucd-trie"
version = "0.1.7" version = "0.1.7"
+2 -2
View File
@@ -68,7 +68,7 @@ semver = "1.0.28"
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149" serde_json = "1.0.149"
sha1 = "0.11.0" sha1 = "0.11.0"
shadow-rs = { version = "1.7.1", default-features = false, features = ["build"] } shadow-rs = { version = "2.0.0", default-features = false, features = ["build"] }
# battery is optional (on by default) because the crate doesn't currently build for Termux # battery is optional (on by default) because the crate doesn't currently build for Termux
# see: https://github.com/svartalf/rust-battery/issues/33 # see: https://github.com/svartalf/rust-battery/issues/33
starship-battery = { version = "0.11.0", optional = true } starship-battery = { version = "0.11.0", optional = true }
@@ -111,7 +111,7 @@ features = [
nix = { version = "0.31.2", default-features = false, features = ["feature", "fs", "user"] } nix = { version = "0.31.2", default-features = false, features = ["feature", "fs", "user"] }
[build-dependencies] [build-dependencies]
shadow-rs = { version = "1.7.1", default-features = false, features = ["build"] } shadow-rs = { version = "2.0.0", default-features = false, features = ["build"] }
dunce = "1.0.5" dunce = "1.0.5"
[target.'cfg(windows)'.build-dependencies] [target.'cfg(windows)'.build-dependencies]