ramosbugs / openidconnect-rs

OpenID Connect Library for Rust
MIT License
404 stars 100 forks source link

No http_client in reqwest #135

Closed andar1an closed 11 months ago

andar1an commented 11 months ago

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.

andar1an commented 11 months ago

Closing: I see that it is not possible to use blocking HTTP client with wasm32 config now.