Skip to content

Commit 38aff27

Browse files
authored
Do not depend on diesel with default features enabled + add an additi… (#35)
* Do not depend on diesel with default features enabled + add an additional path dependency for wundergraph_derives * Fix ci
1 parent 8bc544f commit 38aff27

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
if: runner.os == 'macOS' && matrix.backend == 'postgres'
5757
run: |
5858
brew update
59+
brew uninstall --ignore-dependencies libpq
5960
brew install postgres
6061
/usr/local/opt/postgres/bin/pg_ctl -D /usr/local/var/postgres start
6162
sleep 3

wundergraph/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ description = "A GraphQL ORM build on top of diesel"
1313

1414
[dependencies]
1515
serde = "1"
16-
diesel = { version = "1.4", features = ["r2d2"]}
16+
diesel = { version = "1.4", features = ["r2d2"], default-features = false}
1717
juniper = "0.14"
1818
indexmap = "1"
19-
wundergraph_derive = "0.1"
2019
uuid_internal = { version = "0.7", optional = true, package = "uuid" }
2120
chrono_internal = { version = "0.4", optional = true, package = "chrono" }
2221
log = { version = "0.4", optional = true }
2322
paste = "0.1"
2423
thiserror = "1"
2524

25+
[dependencies.wundergraph_derive]
26+
version = "0.1"
27+
path = "../wundergraph_derive"
28+
29+
2630
[dev-dependencies]
2731
wundergraph_example = { path = "../wundergraph_example", default-features = false }
2832
wundergraph_bench = { path = "../wundergraph_bench", default-features = false }

0 commit comments

Comments
 (0)