Cargo Features
[dependencies]
http_dir = { version = "0.1.9", default-features = false, features = ["compression-br", "compression-deflate", "disk", "include-dir"] }
- default = disk, include-dir
-
These default features are set whenever
http_dir
is added without
somewhere in the dependency tree.default-features = false - compression-gzip compression-br
- compression-deflate
- disk default
-
Affects
fs::disk
… - include-dir default
-
Enables metadata of include_dir
Affects
fs::include_dir
…
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.