summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-10-30 08:45:45 -0700
committerGitHub <noreply@github.com>2023-10-30 11:45:45 -0400
commit1acef755ca8a0a0433a98e4a66433c63ee0a3b09 (patch)
tree015ce439d800e8e35916d498de3780e6ee03e0df /Cargo.toml
parent02cc37e05494e576ea8e120b9fe21b447da9546b (diff)
chore: remove usage of chrono::Utc::now() (#20995)
Remove usage of Chrono's clock feature which pulls in iana-time-zone -> core-foundation
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7b967a16f..c2765ab66 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78,7 +78,9 @@ brotli = "3.3.4"
bytes = "1.4.0"
cache_control = "=0.2.0"
cbc = { version = "=0.1.2", features = ["alloc"] }
-chrono = { version = "0.4", default-features = false, features = ["std", "serde", "clock"] }
+# Note: Do not use the "clock" feature of chrono, as it links us to CoreFoundation on macOS.
+# Instead use util::time::utc_now()
+chrono = { version = "0.4", default-features = false, features = ["std", "serde"] }
console_static_text = "=0.8.1"
data-url = "=0.3.0"
data-encoding = "2.3.3"