Set runtime features for sqlx. (#2171)

* Set runtime features for sqlx.

* Apply suggestions from code review

---------

Co-authored-by: Danny de Jong <ddejong@therp.nl>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
This commit is contained in:
Danny de Jong 2024-03-29 20:20:41 +01:00 committed by GitHub
parent c8c02f6f6e
commit e34f09d362
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",