Cargo Features

YoutubeDl has no features set by default.

[dependencies]
youtube_dl = { version = "0.10.0", features = ["downloader-native-tls", "downloader-rustls-tls"] }
downloader-native-tls = reqwest, tokio

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

Affects youtube_dl::downloader

downloader-rustls-tls = reqwest, tokio

Enables rustls-tls of reqwest

Affects youtube_dl::downloader

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio downloader-native-tls? downloader-rustls-tls?
reqwest downloader-native-tls? downloader-rustls-tls?