From 5a932afb338c8a090a95711779d9874af1311ce6 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 2 Aug 2024 17:21:18 +0800 Subject: [PATCH] Cleanup runtime features --- Cargo.toml | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe572b3a1..6b5ee1433 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -92,38 +92,14 @@ sqlx-postgres = ["sqlx-dep", "sea-query-binder/sqlx-postgres", "sqlx/postgres", sqlx-sqlite = ["sqlx-dep", "sea-query-binder/sqlx-sqlite", "sqlx/sqlite"] sqlite-use-returning-for-3_35 = [] 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", - "runtime-async-std", -] -runtime-async-std-rustls = [ - "sqlx?/runtime-async-std-rustls", - "sea-query-binder?/runtime-async-std-rustls", - "runtime-async-std", -] +runtime-async-std-native-tls = ["sqlx?/runtime-async-std-native-tls", "runtime-async-std"] +runtime-async-std-rustls = ["sqlx?/runtime-async-std-rustls", "runtime-async-std"] runtime-actix = [] -runtime-actix-native-tls = [ - "sqlx?/runtime-tokio-native-tls", - "sea-query-binder?/runtime-actix-native-tls", - "runtime-actix", -] -runtime-actix-rustls = [ - "sqlx?/runtime-tokio-rustls", - "sea-query-binder?/runtime-actix-rustls", - "runtime-actix", -] +runtime-actix-native-tls = ["sqlx?/runtime-tokio-native-tls", "runtime-actix"] +runtime-actix-rustls = ["sqlx?/runtime-tokio-rustls", "runtime-actix"] runtime-tokio = ["sqlx?/runtime-tokio"] -runtime-tokio-native-tls = [ - "sqlx?/runtime-tokio-native-tls", - "sea-query-binder?/runtime-tokio-native-tls", - "runtime-tokio", -] -runtime-tokio-rustls = [ - "sqlx?/runtime-tokio-rustls", - "sea-query-binder?/runtime-tokio-rustls", - "runtime-tokio", -] +runtime-tokio-native-tls = ["sqlx?/runtime-tokio-native-tls", "runtime-tokio"] +runtime-tokio-rustls = ["sqlx?/runtime-tokio-rustls", "runtime-tokio"] tests-cfg = ["serde/derive"] seaography = ["sea-orm-macros/seaography"]