Skip to content

Commit

Permalink
fix:the json-feature should activate sqlx-postgres?/json as well (#…
Browse files Browse the repository at this point in the history
…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
CommanderStorm and abonander authored Jul 16, 2024
1 parent 905df7e commit 08e45f4
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 08e45f4

Please sign in to comment.