Cargo Features

[dependencies]
salvo-compression = { version = "0.74.2", default-features = false, features = ["full", "brotli", "deflate", "zstd"] }
default = full

The full feature is set by default whenever salvo-compression is added without default-features = false somewhere in the dependency tree.

full default = brotli, deflate, gzip, zstd
brotli full

Enables brotli

gzip deflate full

Enables flate2

zstd full

Enables zstd

salvo-compression has 5 features without comments.