Cargo Features

[dependencies]
booru-dl = { version = "0.1.0", default-features = false, features = ["default-tls", "native-tls", "native-tls-vendored", "native-tls-alpn", "rustls-tls", "rustls-tls-manual-roots", "rustls-tls-webpki-roots", "rustls-tls-native-roots", "cli"] }
default = default-tls

We must enable at least one tls feature,
or we will get an error because we use https to visit the booru.

default-tls default

See: https://docs.rs/reqwest/latest/reqwest/#optional-features NOTE: keep following tls features in sync with cfg compile_error in lib.rs

Enables default-tls of reqwest

native-tls

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

native-tls-vendored

Enables native-tls-vendored of reqwest

native-tls-alpn

Enables native-tls-alpn of reqwest

rustls-tls

Enables rustls-tls of reqwest

rustls-tls-manual-roots

Enables rustls-tls-manual-roots of reqwest

rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of reqwest

rustls-tls-native-roots

Enables rustls-tls-native-roots of reqwest

cli

Enables clap, dialoguer, and toml

Affects booru-dl::cli

Required by the binary