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 whenevernekosbest
is added without
somewhere in the dependency tree.default-features = false - 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.