From 5f9c5ef7ae60541465ad5919eb0458b865c4f126 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Mon, 18 Sep 2023 21:02:54 -0700 Subject: [PATCH] fix: explicitly require chrono 0.4.31 or greater The Python binding relies on `timestamp_nanos)opt()` which requires 0.4.31 or greater from chroni since it did not previously exist. As a [cargo dependency refresher](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio) this version range is >=0.4.31, < 0.5.0 which is I believe what we need for optimal downstream compatibility. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 63a17924bd..3015ce4bdd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ serde_json = "1" # "stdlib" bytes = { version = "1" } -chrono = { version = "0.4", default-features = false, features = ["clock"] } +chrono = { version = "0.4.31", default-features = false, features = ["clock"] } regex = { version = "1" } thiserror = { version = "1" } url = { version = "2" }