From a97104559a175fafa5f53997ed2cc269337141d6 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sat, 2 Jul 2022 14:44:08 +0800 Subject: [PATCH] Fix build error --- Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 73acdb71..2d9493c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,10 +71,11 @@ with-chrono = ["chrono", "sea-query/with-chrono", "sqlx?/chrono"] with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sqlx?/decimal"] with-uuid = ["uuid", "sea-query/with-uuid", "sqlx?/uuid"] with-time = ["time", "sea-query/with-time", "sqlx?/time"] +sqlx-dep = [] sqlx-all = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite"] -sqlx-mysql = ["sea-query/sqlx-mysql", "sqlx/mysql"] -sqlx-postgres = ["sea-query/sqlx-postgres", "sqlx/postgres"] -sqlx-sqlite = ["sea-query/sqlx-sqlite", "sqlx/sqlite"] +sqlx-mysql = ["sqlx-dep", "sea-query/sqlx-mysql", "sqlx/mysql"] +sqlx-postgres = ["sqlx-dep", "sea-query/sqlx-postgres", "sqlx/postgres"] +sqlx-sqlite = ["sqlx-dep", "sea-query/sqlx-sqlite", "sqlx/sqlite"] runtime-async-std = [] runtime-async-std-native-tls = [ "sqlx/runtime-async-std-native-tls",