Skip to content

Commit 8bbec08

Browse files
koeninger-ironlightQAston
authored andcommitted
workaround for launchbadge#3211
1 parent 635dba5 commit 8bbec08

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ rustdoc-args = ["--cfg", "docsrs"]
5353

5454
[features]
5555
default = ["any", "macros", "migrate", "json"]
56+
5657
macros = ["sqlx-macros"]
57-
migrate = ["sqlx-core/migrate", "sqlx-macros?/migrate", "sqlx-mysql?/migrate", "sqlx-postgres?/migrate", "sqlx-sqlite?/migrate"]
58+
migrate = ["sqlx-core/migrate", "sqlx-macros?/migrate", "sqlx-postgres?/migrate"]
5859

5960
# intended mainly for CI and docs
6061
all-databases = ["mysql", "sqlite", "postgres", "any"]
@@ -94,22 +95,22 @@ _rt-async-std = []
9495
_rt-tokio = []
9596

9697
# database
97-
any = ["sqlx-core/any", "sqlx-mysql?/any", "sqlx-postgres?/any", "sqlx-sqlite?/any"]
98+
any = ["sqlx-core/any", "sqlx-postgres?/any"]
9899
postgres = ["sqlx-postgres", "sqlx-macros?/postgres"]
99100
mysql = ["sqlx-mysql", "sqlx-macros?/mysql"]
100101
sqlite = ["sqlx-sqlite", "sqlx-macros?/sqlite"]
101102

102103
# types
103-
json = ["sqlx-macros?/json", "sqlx-mysql?/json", "sqlx-postgres?/json", "sqlx-sqlite?/json"]
104+
json = ["sqlx-macros?/json", "sqlx-postgres?/json"]
104105

105-
bigdecimal = ["sqlx-core/bigdecimal", "sqlx-macros?/bigdecimal", "sqlx-mysql?/bigdecimal", "sqlx-postgres?/bigdecimal"]
106+
bigdecimal = ["sqlx-core/bigdecimal", "sqlx-macros?/bigdecimal", "sqlx-postgres?/bigdecimal"]
106107
bit-vec = ["sqlx-core/bit-vec", "sqlx-macros?/bit-vec", "sqlx-postgres?/bit-vec"]
107-
chrono = ["sqlx-core/chrono", "sqlx-macros?/chrono", "sqlx-mysql?/chrono", "sqlx-postgres?/chrono", "sqlx-sqlite?/chrono"]
108+
chrono = ["sqlx-core/chrono", "sqlx-macros?/chrono", "sqlx-postgres?/chrono"]
108109
ipnetwork = ["sqlx-core/ipnetwork", "sqlx-macros?/ipnetwork", "sqlx-postgres?/ipnetwork"]
109110
mac_address = ["sqlx-core/mac_address", "sqlx-macros?/mac_address", "sqlx-postgres?/mac_address"]
110-
rust_decimal = ["sqlx-core/rust_decimal", "sqlx-macros?/rust_decimal", "sqlx-mysql?/rust_decimal", "sqlx-postgres?/rust_decimal"]
111-
time = ["sqlx-core/time", "sqlx-macros?/time", "sqlx-mysql?/time", "sqlx-postgres?/time", "sqlx-sqlite?/time"]
112-
uuid = ["sqlx-core/uuid", "sqlx-macros?/uuid", "sqlx-mysql?/uuid", "sqlx-postgres?/uuid", "sqlx-sqlite?/uuid"]
111+
rust_decimal = ["sqlx-core/rust_decimal", "sqlx-macros?/rust_decimal", "sqlx-postgres?/rust_decimal"]
112+
time = ["sqlx-core/time", "sqlx-macros?/time", "sqlx-postgres?/time"]
113+
uuid = ["sqlx-core/uuid", "sqlx-macros?/uuid", "sqlx-postgres?/uuid"]
113114
regexp = ["sqlx-sqlite?/regexp"]
114115

115116
[workspace.dependencies]

sqlx-macros-core/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ postgres = ["sqlx-postgres"]
2626
sqlite = ["sqlx-sqlite"]
2727

2828
# type integrations
29-
json = ["sqlx-core/json", "sqlx-mysql?/json", "sqlx-sqlite?/json"]
29+
json = ["sqlx-core/json"]
3030

31-
bigdecimal = ["sqlx-core/bigdecimal", "sqlx-mysql?/bigdecimal", "sqlx-postgres?/bigdecimal"]
31+
bigdecimal = ["sqlx-core/bigdecimal", "sqlx-postgres?/bigdecimal"]
3232
bit-vec = ["sqlx-core/bit-vec", "sqlx-postgres?/bit-vec"]
33-
chrono = ["sqlx-core/chrono", "sqlx-mysql?/chrono", "sqlx-postgres?/chrono", "sqlx-sqlite?/chrono"]
33+
chrono = ["sqlx-core/chrono", "sqlx-postgres?/chrono"]
3434
ipnetwork = ["sqlx-core/ipnetwork", "sqlx-postgres?/ipnetwork"]
3535
mac_address = ["sqlx-core/mac_address", "sqlx-postgres?/mac_address"]
36-
rust_decimal = ["sqlx-core/rust_decimal", "sqlx-mysql?/rust_decimal", "sqlx-postgres?/rust_decimal"]
37-
time = ["sqlx-core/time", "sqlx-mysql?/time", "sqlx-postgres?/time", "sqlx-sqlite?/time"]
38-
uuid = ["sqlx-core/uuid", "sqlx-mysql?/uuid", "sqlx-postgres?/uuid", "sqlx-sqlite?/uuid"]
36+
rust_decimal = ["sqlx-core/rust_decimal", "sqlx-postgres?/rust_decimal"]
37+
time = ["sqlx-core/time", "sqlx-postgres?/time"]
38+
uuid = ["sqlx-core/uuid", "sqlx-postgres?/uuid"]
3939

4040
[dependencies]
4141
sqlx-core = { workspace = true, features = ["offline"] }

0 commit comments

Comments
 (0)