From: Elias Rohrer Date: Sun, 6 Aug 2023 17:00:50 +0000 (+0200) Subject: Don't use `chrono` default features X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8af0fe6177ae8157a1b51bb2fb59d092a5593b5c;p=ldk-sample 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. --- diff --git a/Cargo.toml b/Cargo.toml index 0e95be6..dbd703e 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" ] }