Cargo Features
[dependencies]
rotonda = { version = "0.2.1", default-features = false, features = ["http-api-gzip"] }
- default = http-api-gzip
-
The
http-api-gzip
feature is set by default wheneverrotonda
is added without
somewhere in the dependency tree.default-features = false - http-api-gzip default = flate2
-
Enable GZIP compression of the HTTP /metrics response
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.