From 4e404e10815c41f25f2ac5c57e538d3125c852d5 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Thu, 10 Nov 2022 11:41:15 +0800 Subject: [PATCH] [sea-query-binder] enable SQLx features if and only if SQLx optional dependency is enabled --- sea-query-binder/Cargo.toml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sea-query-binder/Cargo.toml b/sea-query-binder/Cargo.toml index 00b445ee4..f1c56de1b 100644 --- a/sea-query-binder/Cargo.toml +++ b/sea-query-binder/Cargo.toml @@ -36,18 +36,18 @@ sqlx-mysql = ["sqlx/mysql"] sqlx-postgres = ["sqlx/postgres"] sqlx-sqlite = ["sqlx/sqlite"] sqlx-any = ["sqlx/any"] -with-chrono = ["sqlx/chrono", "sea-query/with-chrono", "chrono"] -with-json = ["sqlx/json", "sea-query/with-json", "serde_json"] -with-rust_decimal = ["sqlx/decimal", "sea-query/with-rust_decimal", "rust_decimal"] -with-bigdecimal = ["sqlx/bigdecimal", "sea-query/with-bigdecimal", "bigdecimal"] -with-uuid = ["sqlx/uuid", "sea-query/with-uuid", "uuid"] -with-time = ["sqlx/time", "sea-query/with-time", "time"] -with-ipnetwork = ["sqlx/ipnetwork", "sea-query/with-ipnetwork", "ipnetwork"] -with-mac_address = ["sqlx/mac_address", "sea-query/with-mac_address", "mac_address"] +with-chrono = ["sqlx?/chrono", "sea-query/with-chrono", "chrono"] +with-json = ["sqlx?/json", "sea-query/with-json", "serde_json"] +with-rust_decimal = ["sqlx?/decimal", "sea-query/with-rust_decimal", "rust_decimal"] +with-bigdecimal = ["sqlx?/bigdecimal", "sea-query/with-bigdecimal", "bigdecimal"] +with-uuid = ["sqlx?/uuid", "sea-query/with-uuid", "uuid"] +with-time = ["sqlx?/time", "sea-query/with-time", "time"] +with-ipnetwork = ["sqlx?/ipnetwork", "sea-query/with-ipnetwork", "ipnetwork"] +with-mac_address = ["sqlx?/mac_address", "sea-query/with-mac_address", "mac_address"] postgres-array = ["sea-query/postgres-array"] -runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"] -runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls", ] -runtime-actix-native-tls = ["sqlx/runtime-actix-native-tls"] -runtime-actix-rustls = ["sqlx/runtime-actix-rustls"] -runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"] -runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"] +runtime-async-std-native-tls = ["sqlx?/runtime-async-std-native-tls"] +runtime-async-std-rustls = ["sqlx?/runtime-async-std-rustls", ] +runtime-actix-native-tls = ["sqlx?/runtime-actix-native-tls"] +runtime-actix-rustls = ["sqlx?/runtime-actix-rustls"] +runtime-tokio-native-tls = ["sqlx?/runtime-tokio-native-tls"] +runtime-tokio-rustls = ["sqlx?/runtime-tokio-rustls"]