From 0fd55ed351a3de822dd855bd4188db11a39a5cf6 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 27 Oct 2023 11:39:58 -0700 Subject: [PATCH] Use bare minimum chrono features (#1073) --- Cargo.lock | 1 + quick-junit/Cargo.toml | 2 +- workspace-hack/Cargo.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 1907da8f902..d9f99fade62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1735,6 +1735,7 @@ version = "0.1.0" dependencies = [ "backtrace", "cc", + "chrono", "clap", "clap_builder", "console", diff --git a/quick-junit/Cargo.toml b/quick-junit/Cargo.toml index ebf2d4d209f..33b77eb35be 100644 --- a/quick-junit/Cargo.toml +++ b/quick-junit/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" rust-version = "1.66" [dependencies] -chrono = "0.4.31" +chrono = { version = "0.4.31", default-features = false, features = ["std"] } indexmap = "2.0.2" quick-xml = "0.31.0" thiserror = "1.0.50" diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 067271df69e..f3835c087c3 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -15,6 +15,7 @@ publish = false ### BEGIN HAKARI SECTION [dependencies] backtrace = { version = "0.3.69", features = ["gimli-symbolize"] } +chrono = { version = "0.4.31" } clap = { version = "4.4.7", features = ["derive", "env"] } clap_builder = { version = "4.4.7", default-features = false, features = ["color", "env", "help", "std", "suggestions", "usage"] } console = { version = "0.15.7" }