From 5735c25e6950474282b368ddc39afc8324f515d1 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 8 Aug 2022 15:15:54 +0200 Subject: [PATCH] exclude chrono default features --- Cargo.toml | 2 +- sea-orm-cli/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c71eec56..f27c1e20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ path = "src/lib.rs" [dependencies] async-stream = { version = "^0.3" } async-trait = { version = "^0.1" } -chrono = { version = "^0.4", optional = true } +chrono = { version = "^0", default-features = false, features = ["clock"], optional = true } time = { version = "^0.3", optional = true } futures = { version = "^0.3" } futures-util = { version = "^0.3" } diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index 7e1cd92f..e5c6ad76 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -39,7 +39,7 @@ sqlx = { version = "^0.6", default-features = false, features = [ "mysql", "post tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing = { version = "0.1" } url = "^2.2" -chrono = "0.4" +chrono = { version = "^0", default-features = false, features = ["clock"] } regex = "1" [dev-dependencies]