Skip to content

Commit

Permalink
fix:the json-feature should activate sqlx-postgres?/json as well (l…
Browse files Browse the repository at this point in the history
…aunchbadge#3350)

* fix: made sure that the json feature is defined for postgres as well

* fixed the feature order

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

---------

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
  • Loading branch information
2 people authored and jrasanen committed Oct 14, 2024
1 parent f6cd4f6 commit ea30592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-macros-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit ea30592

Please sign in to comment.