mockersf / jenkins-api.rs

Rust client for Jenkins API
MIT License
26 stars 17 forks source link

Add an optional feature to enable rustls #64

Closed mvertescher closed 3 years ago

mvertescher commented 3 years ago

:wave: cool project, thanks for maintaining this! Just a minor addition:

Sometimes it's useful to use rustls instead of the default native TLS. The reqwest crate exposes a rustls-tls feature that makes this easy to enable. This patch adds a new feature to this crate that passes rustls-tls through to reqwest. Like before, the default TLS stack for a platform is used by reqwest if no override is given.

mockersf commented 3 years ago

thank you!