Cargo Features

[dependencies]
rusty_ytdl = { version = "0.7.4", default-features = false, features = ["performance_analysis", "live", "blocking", "search", "ffmpeg", "default-tls", "native-tls", "rustls-tls", "native-tls-vendored", "socks"] }
default = default-tls, live, search

These default features are set whenever rusty_ytdl is added without default-features = false somewhere in the dependency tree.

performance_analysis = flame, flamer
live default

Enables process and time of tokio

blocking

Enables rt and rt-multi-thread of tokio

Affects rusty_ytdl::blocking

Affects blocking::search, rusty_ytdl::search

ffmpeg

Enables io-util and process of tokio

Affects streams::FFmpegStreamOptions, non_live::NonLiveStreamOptions.ffmpeg_args, structs::FFmpegArgs

default-tls default

Enables default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

native-tls

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls

Enables rustls-tls of reqwest

native-tls-vendored

Enables native-tls-vendored of reqwest

socks

Enables socks of reqwest

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.

flame performance_analysis?
flamer performance_analysis?