Skip to content

Commit 6f35b0c

Browse files
author
Alexei Pastuchov
committed
Add mysql feature flags
Add corresponding feature flags to the wundergraph_derive, wundergraph and wundergraph_cli crate
1 parent c27078d commit 6f35b0c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

wundergraph/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ insta = "0.12"
3939
[features]
4040
default = []
4141
debug = ["wundergraph_derive/debug", "log"]
42+
mysql = ["diesel/mysql", "wundergraph_derive/mysql"]
4243
sqlite = ["diesel/sqlite", "wundergraph_derive/sqlite"]
4344
postgres = ["diesel/postgres", "wundergraph_derive/postgres"]
4445
extras = ["uuid", "chrono"]

wundergraph_cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ serde_json = "1"
2424

2525
[features]
2626
default = ["postgres", "sqlite"]
27-
sqlite = ["diesel/sqlite"]
27+
mysql = ["diesel/mysql"]
2828
postgres = ["diesel/postgres"]
29+
sqlite = ["diesel/sqlite"]

wundergraph_derive/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ proc-macro = true
2121
[features]
2222
default = []
2323
nightly = ["proc-macro2/nightly"]
24+
mysql = []
2425
postgres = []
2526
sqlite = []
2627
debug = []

0 commit comments

Comments
 (0)