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 default-features = false somewhere in the dependency tree.

compression-gzip compression-br
compression-deflate
disk default

Enables fs of tokio

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.

include_dir include-dir