From 09717e1b837e04581799501978ef45e4f3ad2f29 Mon Sep 17 00:00:00 2001 From: Travis Whitehead Date: Mon, 12 Sep 2022 18:08:39 -0700 Subject: [PATCH] fix: Remove default chrono dep on time for sqlx-cli (#2089) chrono v0.4.19 includes time 0.1 via default feature flag oldtime. time 0.1 is deprecated and flagged for: https://rustsec.org/advisories/RUSTSEC-2020-0071 --- sqlx-cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-cli/Cargo.toml b/sqlx-cli/Cargo.toml index 2c1a039d..239c73b5 100644 --- a/sqlx-cli/Cargo.toml +++ b/sqlx-cli/Cargo.toml @@ -34,7 +34,7 @@ sqlx = { version = "0.6.1", path = "..", default-features = false, features = [ ] } futures = "0.3.19" clap = { version = "3.1.0", features = ["derive", "env"] } -chrono = "0.4.19" +chrono = { version = "0.4.19", default-features = false, features = ["clock"] } anyhow = "1.0.52" url = { version = "2.2.2", default-features = false } async-trait = "0.1.52"