diff options
author | James McCoy <jamessan@jamessan.com> | 2022-01-12 20:53:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 01:53:03 +0000 |
commit | 1c9fa73165f0bc97255dd10e64ad4c9b76ad1d02 (patch) | |
tree | 8727ead8eb3dbf89b1e3b5d7f331b09734338add /Cargo.lock | |
parent | fd7573d5d15ab229b233469fd9ab077158ece030 (diff) | |
download | alacritty-1c9fa73165f0bc97255dd10e64ad4c9b76ad1d02.tar.gz alacritty-1c9fa73165f0bc97255dd10e64ad4c9b76ad1d02.zip |
Update time crate to 0.3.5
Due to unsoundness issues (c.f., time-rs/time#380 and time-rs/time#293),
determining the local timezone can only happen while single-threaded.
Determine the timezone early in startup and apply the offset to the UTC
timestamp before formatting.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -801,6 +801,12 @@ dependencies = [ [[package]] name = "itoa" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" + +[[package]] +name = "itoa" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" @@ -1419,7 +1425,7 @@ version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142" dependencies = [ - "itoa", + "itoa 1.0.1", "ryu", "serde", ] @@ -1599,15 +1605,22 @@ dependencies = [ [[package]] name = "time" -version = "0.1.43" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" +checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad" dependencies = [ + "itoa 0.4.8", "libc", - "winapi 0.3.9", + "time-macros", ] [[package]] +name = "time-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25eb0ca3468fc0acc11828786797f6ef9aa1555e4a211a60d64cc8e4d1be47d6" + +[[package]] name = "toml" version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" |