Open nick42d opened 2 months ago
As features are additive - if both native-tls and rustls-tls are enabled, ytmapi-rs will use native-tls by default.
Add a builder function to ensure a specific backend is used - similar to reqwest's use_rustls_tls() https://docs.rs/reqwest/latest/reqwest/tls/index.html
Or consider instead raising a compile error to enforce mutually exclusive features
As features are additive - if both native-tls and rustls-tls are enabled, ytmapi-rs will use native-tls by default.
Add a builder function to ensure a specific backend is used - similar to reqwest's use_rustls_tls() https://docs.rs/reqwest/latest/reqwest/tls/index.html