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

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.

async-compression brotli deflate gzip

Enables async-compression ^0.3.15

tokio-util brotli deflate gzip