From 6753d730728eb9ad50ba13ad94f4c753f817d3c8 Mon Sep 17 00:00:00 2001 From: bsbds <69835502+bsbds@users.noreply.github.com> Date: Thu, 8 Jun 2023 13:16:02 +0800 Subject: [PATCH] fix(tonic): disable chrono default features (#148) A workaround for the security advisory regarding the chrono dependency. Source: https://github.com/chronotope/chrono/issues/602 --- madsim-tonic/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/madsim-tonic/Cargo.toml b/madsim-tonic/Cargo.toml index dfa5860..87e4ad3 100644 --- a/madsim-tonic/Cargo.toml +++ b/madsim-tonic/Cargo.toml @@ -20,7 +20,7 @@ tonic = "0.8.3" [target.'cfg(madsim)'.dependencies] async-stream = "0.3" -chrono = "0.4" +chrono = { version = "0.4", default-features = false, features = ["clock"] } futures-util = "0.3" madsim = { version = "0.2.20", path = "../madsim" } tracing = "0.1"