Cargo Features

[dependencies]
nekosbest = { version = "0.20.1", default-features = false, features = ["default-tls", "native-tls", "rustls-tls", "metrics", "blocking", "strong-types", "download"] }
default = rustls-tls

The rustls-tls feature is set by default whenever nekosbest is added without default-features = false somewhere in the dependency tree.

default-tls

Enables default-tls of reqwest ^0.11

reqwest:

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

native-tls

Enables native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls default

Enables rustls-tls of reqwest ^0.11

metrics = humantime-serde

Affects nekosbest::metrics

blocking = nb-blocking-util

Enables blocking of reqwest ^0.11

strong-types

Affects nekosbest::strong_types

download = futures, image

Enables stream of reqwest ^0.11

Affects nekosbest::download

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.

futures download?
humantime-serde metrics?
image download?

Enables image ^0.24.6

nb-blocking-util blocking?