Cargo Features
[dependencies]
graphql_client = { version = "0.14.0", default-features = false, features = ["reqwest", "reqwest-rustls", "reqwest-blocking", "graphql_query_derive"] }
- default = graphql_query_derive
-
The
graphql_query_derive
feature is set by default whenevergraphql_client
is added without
somewhere in the dependency tree.default-features = false - reqwest = reqwest-crate
-
Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
Affects
reqwest::post_graphql
,graphql_client::reqwest
… - reqwest-rustls = reqwest-crate
-
Enables rustls-tls of reqwest ^0.11
Affects
reqwest::post_graphql
,graphql_client::reqwest
… - reqwest-blocking
-
Enables blocking of reqwest ^0.11
Affects
reqwest::post_graphql_blocking
,graphql_client::reqwest
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- graphql_query_derive default
-
Enables graphql_query_derive
Optional dependencies
- reqwest-crate reqwest? reqwest-blocking? reqwest-rustls?
-
Enables reqwest ^0.11