From a6f64b5b20cebe918a83e84811529be88f5da3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 12 Nov 2022 18:24:02 +0200 Subject: [PATCH] version-helper: Update for deprecated chrono functions Part-of: --- version-helper/Cargo.toml | 2 +- version-helper/src/lib.rs | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/version-helper/Cargo.toml b/version-helper/Cargo.toml index 0c381e14..4f1ef3c8 100644 --- a/version-helper/Cargo.toml +++ b/version-helper/Cargo.toml @@ -13,4 +13,4 @@ edition = "2021" rust-version = "1.63" [dependencies] -chrono = { version = "0.4.19", default-features = false, features = ["std", "clock"] } +chrono = { version = "0.4.23", default-features = false, features = ["std", "clock"] } diff --git a/version-helper/src/lib.rs b/version-helper/src/lib.rs index ccd90f63..cc7455d7 100644 --- a/version-helper/src/lib.rs +++ b/version-helper/src/lib.rs @@ -85,10 +85,12 @@ fn cargo_mtime_date(crate_dir: path::PathBuf) -> Option