Open onkoe opened 1 year ago
Hey, no, that's an oversight on my part. I'll fix that.
I’m super happy to hear that!!
Thanks for your hard work on this library so far! (;
@onkoe I've split the downloader
feature into downloader-native-tls
and downloader-rustls-tls
features with the new version (0.9.0). Those should work better than what was there before. Let me know if it works when you get around to it.
I'd really like to use the
downloader
feature for usage of thedownload_yt_dlp
function, but it seems that you can't use the downloader withoutnative-tls
enabled, too!I tried changing out the features with this patch:
I then ran the tests using
cargo test --all
, with all of them succeeding. It seems that it's not on purpose to require native TLS implementations for downloading the yt-dlp application.To ensure that the library still worked fine for binaries, I also dumped some basic code into a new Rust project:
Running this binary project returns a working
yt-dlp
binary, as expected.Is there any reason to not loosen these requirements? To my knowledge, there's no way to require the use of one or both, so you could either
#[cfg]
up the source, or add two different download feature set types inCargo.toml
, likedownload
anddownload-rustls
.Many thanks, Barrett