Skip to content

Commit b3fd251

Browse files
committed
Last small adjustments
1 parent 366a370 commit b3fd251

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
override: true
3030
- name: Execute cargo test
3131
run: cargo test --all --tests --examples
32-
wasm_test:
33-
name: Cargo test for wasm
32+
wasm_build:
33+
name: Cargo build for wasm
3434
runs-on: ubuntu-18.04
3535
steps:
3636
- name: Checkout sources
@@ -42,9 +42,9 @@ jobs:
4242
toolchain: stable
4343
override: true
4444
target: wasm32-unknown-unknown
45-
- name: Execute cargo test
45+
- name: Execute cargo build
4646
run: |
47-
cargo test --manifest-path=./graphql_client/Cargo.toml --features="reqwest" --target wasm32-unknown-unknown
47+
cargo build --manifest-path=./graphql_client/Cargo.toml --features="reqwest" --target wasm32-unknown-unknown
4848
lint:
4949
name: Rustfmt and Clippy
5050
runs-on: ubuntu-latest

graphql_client/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ categories = ["network-programming", "web-programming", "wasm"]
1010
edition = "2018"
1111

1212
[dependencies]
13-
reqwest = { version = "^0.11", features = ["json"], optional = true }
14-
graphql_query_derive = { path = "../graphql_query_derive", version = "0.9.0", optional = true }
1513
serde = { version = "^1.0.78", features = ["derive"] }
1614
serde_json = "1.0"
1715

16+
# Optional dependencies
17+
graphql_query_derive = { path = "../graphql_query_derive", version = "0.9.0", optional = true }
18+
reqwest = { version = "^0.11", features = ["json"], optional = true }
19+
1820
[features]
1921
default = ["graphql_query_derive"]
2022
reqwest-blocking = ["reqwest/blocking"]

0 commit comments

Comments
 (0)