Skip to content

Commit 08e45f4

Browse files
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 <[email protected]> --------- Co-authored-by: Austin Bonander <[email protected]>
1 parent 905df7e commit 08e45f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ postgres = ["sqlx-postgres"]
2828
sqlite = ["sqlx-sqlite"]
2929

3030
# type integrations
31-
json = ["sqlx-core/json", "sqlx-mysql?/json", "sqlx-sqlite?/json"]
31+
json = ["sqlx-core/json", "sqlx-mysql?/json", "sqlx-postgres?/json", "sqlx-sqlite?/json"]
3232

3333
bigdecimal = ["sqlx-core/bigdecimal", "sqlx-mysql?/bigdecimal", "sqlx-postgres?/bigdecimal"]
3434
bit-vec = ["sqlx-core/bit-vec", "sqlx-postgres?/bit-vec"]

0 commit comments

Comments
 (0)