Skip to content

Commit

Permalink
Move examples/basic_subscriptions into `juniper_subscriptions/examp…
Browse files Browse the repository at this point in the history
…les/basic`
  • Loading branch information
tyranron committed Sep 21, 2023
1 parent 0de7455 commit fd68720
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 77 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
needs:
- bench
- clippy
- example
- feature
- msrv
- release-check
Expand Down Expand Up @@ -84,29 +83,6 @@ jobs:
- run: cargo clippy -p juniper_benchmarks --benches -- -D warnings
- run: cargo bench -p juniper_benchmarks

example:
strategy:
fail-fast: false
matrix:
example:
- basic_subscriptions
os:
- ubuntu
- macOS
- windows
toolchain:
- stable
- beta
- nightly
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}

- run: cargo check -p example_${{ matrix.example }}

feature:
strategy:
fail-fast: false
Expand Down Expand Up @@ -366,7 +342,6 @@ jobs:
needs:
- bench
- clippy
- example
- feature
- msrv
- package
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
resolver = "1" # unifying Cargo features asap for Book tests
members = [
"benches",
"examples/basic_subscriptions",
"juniper_codegen",
"juniper",
"juniper_hyper",
Expand Down
2 changes: 1 addition & 1 deletion book/src/advanced/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Currently there is an example of subscriptions with [warp][warp], but it still i
GraphQL over [WS][WS] is not fully supported yet and is non-standard.

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



Expand Down
34 changes: 0 additions & 34 deletions examples/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions examples/basic_subscriptions/Cargo.toml

This file was deleted.

2 changes: 1 addition & 1 deletion juniper_subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ juniper = { version = "0.16.0-dev", path = "../juniper", default-features = fals

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

0 comments on commit fd68720

Please sign in to comment.