Don't use `chrono` default features
authorElias Rohrer <dev@tnull.de>
Sun, 6 Aug 2023 17:00:50 +0000 (19:00 +0200)
committerElias Rohrer <dev@tnull.de>
Sun, 6 Aug 2023 17:05:12 +0000 (19:05 +0200)
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

index 0e95be6a569cf1f5fa3bf1c6dd022aec3681afd1..dbd703e71d652b9cd7e05a3f24d807a000e36b0b 100644 (file)
@@ -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" ] }