diff --git a/graphql_client/src/reqwest.rs b/graphql_client/src/reqwest.rs index 3541915e..432cbf8e 100644 --- a/graphql_client/src/reqwest.rs +++ b/graphql_client/src/reqwest.rs @@ -1,7 +1,8 @@ //! A concrete client implementation over HTTP with reqwest. use crate::GraphQLQuery; -use reqwest_crate as reqwest; +#[cfg(feature = "reqwest")] +pub use reqwest_crate as reqwest; /// Use the provided reqwest::Client to post a GraphQL request. #[cfg(any(feature = "reqwest", feature = "reqwest-rustls"))]