Cargo Features
[dependencies]
download-async = { version = "0.10.10", default-features = false, features = ["gzip", "brotli", "deflate"] }
- default = brotli, deflate, gzip
-
These default features are set whenever
download-async
is added without
somewhere in the dependency tree.default-features = false - gzip default = async-compression, tokio-util
-
Enables gzip of async-compression ^0.3.15
- brotli default = async-compression, tokio-util
-
Enables brotli of async-compression ^0.3.15
- deflate default = async-compression, tokio-util
-
Enables zlib of async-compression ^0.3.15
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.