From 95d1049f286533963340ca94407dab8abe920ebd Mon Sep 17 00:00:00 2001 From: msepga Date: Wed, 26 Oct 2022 11:44:15 -0400 Subject: [PATCH] Disable chrono default-features This fixes usage of `cargo audit`, where the unnecessary `time` dependency is pulled in. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7e9625b..d4f069e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ with-chrono-0_4 = ["chrono-04", "postgres-types/with-chrono-0_4"] [dependencies] postgres-protocol = "0.6" postgres-types = "0.2" -chrono-04 = { version = "0.4", package = "chrono", optional = true } +chrono-04 = { version = "0.4", package = "chrono", optional = true, default-features = false } [dev-dependencies] postgres = "0.19"