Skip to content

Commit 8af0fe6

Browse files
committed
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.
1 parent b7daadc commit 8af0fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bech32 = "0.8"
2323
hex = "0.3"
2424
libc = "0.2"
2525

26-
chrono = "0.4"
26+
chrono = { version = "0.4", default-features = false, features = ["clock"] }
2727
rand = "0.4"
2828
serde_json = { version = "1.0" }
2929
tokio = { version = "1", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }

0 commit comments

Comments
 (0)