diff --git a/Cargo.toml b/Cargo.toml index f0fc6cb5..73acdb71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,21 +66,15 @@ default = [ ] macros = ["sea-orm-macros"] mock = [] -with-json = ["serde_json", "sea-query/with-json", "chrono/serde"] -with-chrono = ["chrono", "sea-query/with-chrono"] -with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal"] -with-uuid = ["uuid", "sea-query/with-uuid"] -with-time = ["time", "sea-query/with-time"] +with-json = ["serde_json", "sea-query/with-json", "chrono/serde", "sqlx?/json"] +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-all = ["sqlx-mysql", "sqlx-postgres", "sqlx-sqlite"] -sqlx-dep = ["sqlx-json", "sqlx-chrono", "sqlx-decimal", "sqlx-uuid", "sqlx-time"] -sqlx-json = ["sqlx/json", "with-json"] -sqlx-chrono = ["sqlx/chrono", "with-chrono"] -sqlx-decimal = ["sqlx/decimal", "with-rust_decimal"] -sqlx-uuid = ["sqlx/uuid", "with-uuid"] -sqlx-time = ["sqlx/time", "with-time"] -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"] +sqlx-mysql = ["sea-query/sqlx-mysql", "sqlx/mysql"] +sqlx-postgres = ["sea-query/sqlx-postgres", "sqlx/postgres"] +sqlx-sqlite = ["sea-query/sqlx-sqlite", "sqlx/sqlite"] runtime-async-std = [] runtime-async-std-native-tls = [ "sqlx/runtime-async-std-native-tls",