Cargo Features
[dependencies]
rocket_static_fs = { version = "0.5.1", default-features = false, features = ["content_encoding"] }
- default = content_encoding
-
The
content_encoding
feature is set by default wheneverrocket_static_fs
is added without
somewhere in the dependency tree.default-features = false - content_encoding default = flate2
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.