From 8af0fe6177ae8157a1b51bb2fb59d092a5593b5c Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Sun, 6 Aug 2023 19:00:50 +0200 Subject: [PATCH] Don't use `chrono` default features The `chrono` crate has a dependency on an old version of `time` which has a potential segfault. We therefore disable the default features. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0e95be6a..dbd703e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ bech32 = "0.8" hex = "0.3" libc = "0.2" -chrono = "0.4" +chrono = { version = "0.4", default-features = false, features = ["clock"] } rand = "0.4" serde_json = { version = "1.0" } tokio = { version = "1", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }