diff --git a/Cargo.lock b/Cargo.lock index a9f3c485..ca9624da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -336,6 +336,12 @@ dependencies = [ "cache-padded", ] +[[package]] +name = "const_fn" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbdcdcb6d86f71c5e97409ad45898af11cbc995b4ee8112d59095a28d376c935" + [[package]] name = "const_format" version = "0.2.25" @@ -1945,14 +1951,15 @@ dependencies = [ [[package]] name = "shadow-rs" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed1b83da0a4e48d8dcc13ad177b64f2fc40097974f9bf176c2bcb702cabadff3" +checksum = "92a04bd30c102e7b97b53a19e5c1a988de2e76a91fdb7a52296a25035f1651cc" dependencies = [ - "chrono", "const_format", "git2", "is_debug", + "time 0.3.11", + "tz-rs", ] [[package]] @@ -2299,6 +2306,7 @@ version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72c91f41dcb2f096c05f0873d667dceec1087ce5bcf984ec8ffb19acddbb3217" dependencies = [ + "itoa", "libc", "num_threads", ] @@ -2377,6 +2385,15 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" +[[package]] +name = "tz-rs" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eb454313e3d79601e2116bb6c7a93ec0eda1dbb52f9204f831f897204182c5f" +dependencies = [ + "const_fn", +] + [[package]] name = "ucd-trie" version = "0.1.3" diff --git a/Cargo.toml b/Cargo.toml index 3a407d28..a8b8f32c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,7 +65,7 @@ semver = "1.0.12" serde = { version = "1.0.139", features = ["derive"] } serde_json = "1.0.82" sha-1 = "0.10.0" -shadow-rs = "0.12.0" +shadow-rs = "0.13.1" # 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 } @@ -109,7 +109,7 @@ features = [ nix = { version = "0.24.2", default-features = false, features = ["feature", "fs", "user"] } [build-dependencies] -shadow-rs = "0.12.0" +shadow-rs = "0.13.1" [target.'cfg(windows)'.build-dependencies] winres = "0.1.12"