No http_client in reqwest
andar1an opened this issue · comments
Error:
15 | use openidconnect::reqwest::http_client;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `http_client` in `reqwest`
|
note: found an item that was configured out
--> /.../.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/oauth2-4.4.2/src/reqwest.rs:26:19
|
26 | pub use blocking::http_client;
Is the blocking reqwest HTTP client behind a feature flag? I can't tell which one. I am referencing code from the documentation example.
Closing: I see that it is not possible to use blocking HTTP client with wasm32 config now.