kilork/keycloak

Add feature to choose rustls over native-tls for reqwest dependency

Closed this issue · 3 comments

Currently, using keycloak crate makes us depend on reqwest with dependencies on native-tls depending itself on openssl crate. Thus, we have a dependency on openssl OS dependencies.

It would be nice to have the opportunity to choose between native-tls and rustls, already supported by reqwest through the feature rustls-tls (more doc here Reqwest - Optional Features).

This choice may be provided by a feature in the crate keycloak itself.

kilork commented

I think this should be sufficient: #61. This would be released quite soon I think, I am planning another API bump, and this would be implemented there.

I support, just ran into this issue myself.

Fixed in #85