From e34f09d362074497f4c2de0cc9cb491786c02662 Mon Sep 17 00:00:00 2001 From: Danny de Jong <66418554+bamidev@users.noreply.github.com> Date: Fri, 29 Mar 2024 20:20:41 +0100 Subject: [PATCH] Set runtime features for sqlx. (#2171) * Set runtime features for sqlx. * Apply suggestions from code review --------- Co-authored-by: Danny de Jong Co-authored-by: Chris Tsang --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0609e054..90d007e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,7 +91,7 @@ sqlx-mysql = ["sqlx-dep", "sea-query-binder/sqlx-mysql", "sqlx/mysql"] sqlx-postgres = ["sqlx-dep", "sea-query-binder/sqlx-postgres", "sqlx/postgres", "postgres-array"] sqlx-sqlite = ["sqlx-dep", "sea-query-binder/sqlx-sqlite", "sqlx/sqlite"] sqlite-use-returning-for-3_35 = [] -runtime-async-std = [] +runtime-async-std = ["sqlx?/runtime-async-std"] runtime-async-std-native-tls = [ "sqlx?/runtime-async-std-native-tls", "sea-query-binder?/runtime-async-std-native-tls", @@ -113,7 +113,7 @@ runtime-actix-rustls = [ "sea-query-binder?/runtime-actix-rustls", "runtime-actix", ] -runtime-tokio = [] +runtime-tokio = ["sqlx?/runtime-tokio"] runtime-tokio-native-tls = [ "sqlx?/runtime-tokio-native-tls", "sea-query-binder?/runtime-tokio-native-tls",