@@ -5,15 +5,15 @@ authors = ["Tom Houlé <tom@tomhoule.com>"]
5
5
description = " Typed GraphQL requests and responses"
6
6
repository = " https://github.com/graphql-rust/graphql-client"
7
7
license = " Apache-2.0 OR MIT"
8
- keywords = [" graphql" , " api" , " web" , " webassembly" , " wasm" ]
8
+ keywords = [" graphql" , " api" , " web" , " webassembly" , " wasm" ]
9
9
categories = [" network-programming" , " web-programming" , " wasm" ]
10
10
edition = " 2018"
11
11
12
12
[dependencies ]
13
13
doc-comment = " ^0.3"
14
14
anyhow = { version = " 1.0" , optional = true }
15
15
thiserror = { version = " 1.0" , optional = true }
16
- graphql_query_derive = { path = " ../graphql_query_derive" , version = " 0.9.0" }
16
+ graphql_query_derive = { path = " ../graphql_query_derive" , version = " 0.9.0" , optional = true }
17
17
serde_json = " 1.0"
18
18
serde = { version = " ^1.0.78" , features = [" derive" ] }
19
19
@@ -32,13 +32,7 @@ optional = true
32
32
[dependencies .web-sys ]
33
33
version = " ^0.3"
34
34
optional = true
35
- features = [
36
- " Headers" ,
37
- " Request" ,
38
- " RequestInit" ,
39
- " Response" ,
40
- " Window" ,
41
- ]
35
+ features = [" Headers" , " Request" , " RequestInit" , " Response" , " Window" ]
42
36
43
37
[dependencies .wasm-bindgen ]
44
38
version = " ^0.2"
@@ -56,6 +50,7 @@ reqwest = "^0.9"
56
50
wasm-bindgen-test = " ^0.2"
57
51
58
52
[features ]
53
+ default = [" graphql_query_derive" ]
59
54
web = [
60
55
" anyhow" ,
61
56
" thiserror" ,
0 commit comments