Skip to content

Commit fd68720

Browse files
committed
Move examples/basic_subscriptions into juniper_subscriptions/examples/basic
1 parent 0de7455 commit fd68720

File tree

7 files changed

+2
-77
lines changed

7 files changed

+2
-77
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
needs:
2626
- bench
2727
- clippy
28-
- example
2928
- feature
3029
- msrv
3130
- release-check
@@ -84,29 +83,6 @@ jobs:
8483
- run: cargo clippy -p juniper_benchmarks --benches -- -D warnings
8584
- run: cargo bench -p juniper_benchmarks
8685

87-
example:
88-
strategy:
89-
fail-fast: false
90-
matrix:
91-
example:
92-
- basic_subscriptions
93-
os:
94-
- ubuntu
95-
- macOS
96-
- windows
97-
toolchain:
98-
- stable
99-
- beta
100-
- nightly
101-
runs-on: ${{ matrix.os }}-latest
102-
steps:
103-
- uses: actions/checkout@v4
104-
- uses: dtolnay/rust-toolchain@v1
105-
with:
106-
toolchain: ${{ matrix.toolchain }}
107-
108-
- run: cargo check -p example_${{ matrix.example }}
109-
11086
feature:
11187
strategy:
11288
fail-fast: false
@@ -366,7 +342,6 @@ jobs:
366342
needs:
367343
- bench
368344
- clippy
369-
- example
370345
- feature
371346
- msrv
372347
- package

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
resolver = "1" # unifying Cargo features asap for Book tests
33
members = [
44
"benches",
5-
"examples/basic_subscriptions",
65
"juniper_codegen",
76
"juniper",
87
"juniper_hyper",

book/src/advanced/subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Currently there is an example of subscriptions with [warp][warp], but it still i
155155
GraphQL over [WS][WS] is not fully supported yet and is non-standard.
156156

157157
- [Warp Subscription Example](https://github.com/graphql-rust/juniper/tree/master/juniper_warp/examples/subscription.rs)
158-
- [Small Example](https://github.com/graphql-rust/juniper/tree/master/examples/basic_subscriptions)
158+
- [Small Example](https://github.com/graphql-rust/juniper/tree/master/juniper_subscriptions/examples/basic.rs)
159159

160160

161161

examples/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

examples/basic_subscriptions/Cargo.toml

Lines changed: 0 additions & 15 deletions
This file was deleted.

juniper_subscriptions/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ juniper = { version = "0.16.0-dev", path = "../juniper", default-features = fals
2020

2121
[dev-dependencies]
2222
serde_json = "1.0.18"
23-
tokio = { version = "1.0", features = ["macros", "rt"] }
23+
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
File renamed without changes.

0 commit comments

Comments
 (0)