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