From 9220df70d965ff43f7baa75be4c622c6963a7652 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sat, 6 Aug 2022 19:05:46 +0200 Subject: [PATCH] build: bump chrono from 0.4.19 to 0.4.20 (#4232) --- .cargo/audit.toml | 4 ---- Cargo.lock | 7 ++++--- Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 5dbd178b..b74b63d2 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -4,8 +4,4 @@ ignore = [ # chrono dependency, but vulnerable function is never called # Tacked in #3163 "RUSTSEC-2020-0071", - # chrono: Potential segfault in localtime_r invocations - # starship avoids setting any environment variables to avoid this issue - # Tracked in #3166 - "RUSTSEC-2020-0159", ] diff --git a/Cargo.lock b/Cargo.lock index 58f7f0d9..a09d0217 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -242,14 +242,15 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.19" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" +checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" dependencies = [ - "libc", + "js-sys", "num-integer", "num-traits", "time 0.1.44", + "wasm-bindgen", "winapi", ] diff --git a/Cargo.toml b/Cargo.toml index 89c38ae1..92d31854 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ notify = ["notify-rust"] [dependencies] ansi_term = "0.12.1" -chrono = "0.4.19" +chrono = { version = "0.4.20", features = ["clock", "std"] } clap = { version = "=3.2.16", features = ["derive", "cargo", "unicode", "unstable-v4"] } clap_complete = "3.2.3" dirs-next = "2.0.0"