You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql_client/src/lib.rs
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,15 @@
1
-
//! The top-level documentation resides on the [project README](https://github.com/graphql-rust/graphql-client) at the moment.
1
+
//! The top-level documentation resides on the [project
2
+
//! README](https://github.com/graphql-rust/graphql-client) at the moment.
2
3
//!
3
-
//! The main interface to this library is the custom derive that generates modules from a GraphQL query and schema. See the docs for the [`GraphQLQuery`] trait for a full example.
4
+
//! The main interface to this library is the custom derive that generates
5
+
//! modules from a GraphQL query and schema. See the docs for the
6
+
//! [`GraphQLQuery`] trait for a full example.
7
+
//!
8
+
//! ## Cargo features
9
+
//!
10
+
//! - `graphql_query_derive` (default: on): enables the `#[derive(GraphqlQuery)]` custom derive.
11
+
//! - `reqwest` (default: off): exposes the `graphql_client::reqwest::post_graphql()` function.
12
+
//! - `reqwest_blocking` (default: off): exposes the blocking version, `graphql_client::reqwest::post_graphql_blocking()`.
0 commit comments