From ea305927aa5dbe1ff153ea75c49dee4c8c02cd68 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 16 Jul 2024 23:32:41 +0200 Subject: [PATCH] fix:the `json`-feature should activate `sqlx-postgres?/json` as well (#3350) * fix: made sure that the json feature is defined for postgres as well * fixed the feature order Co-authored-by: Austin Bonander --------- Co-authored-by: Austin Bonander --- sqlx-macros-core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-macros-core/Cargo.toml b/sqlx-macros-core/Cargo.toml index 97bec2808e..df867201d1 100644 --- a/sqlx-macros-core/Cargo.toml +++ b/sqlx-macros-core/Cargo.toml @@ -28,7 +28,7 @@ postgres = ["sqlx-postgres"] sqlite = ["sqlx-sqlite"] # type integrations -json = ["sqlx-core/json", "sqlx-mysql?/json", "sqlx-sqlite?/json"] +json = ["sqlx-core/json", "sqlx-mysql?/json", "sqlx-postgres?/json", "sqlx-sqlite?/json"] bigdecimal = ["sqlx-core/bigdecimal", "sqlx-mysql?/bigdecimal", "sqlx-postgres?/bigdecimal"] bit-vec = ["sqlx-core/bit-vec", "sqlx-postgres?/bit-vec"]