Closed hungl6844 closed 2 months ago
Hi @hungl6844 , cheers for the PR! Looks like there is a GtiHub issue blocking CI, bear with me while that gets resolved.
Does this approach still use reqwest default features by default? That's my preference for now.
First of all, yes, by default, openssl is still used when building the binary, the feature “rusttls-tls” is required to switch away. Thanks for pointing out the issues, I didn’t even realize the binary wasn’t building (I was only using ytmapi-rs, so I never built youtui). I will implement your changes as soon as possible!
Made some slight changes, if you're happy with that I'll get this merged!
Go for it!
Go for it!
We're in - thanks for your contrib :) In future I'll look to improve this slightly to work around case where multiple features are specified - issue #30 added for tracking.
because openssl is a pain to cross-compile for, I have added the ability for users to switch to another backend instead. since the only configuration required to do so is enabling the features in reqwest, all I had to do was add a feature in ytmapi-rs that tells reqwest to switch the backend.