Cargo Features

[dependencies]
twinstar = { version = "0.4.0", default-features = false, features = ["serve_dir"] }
default = serve_dir

The serve_dir feature is set by default whenever twinstar is added without default-features = false somewhere in the dependency tree.

serve_dir default = mime_guess

Enables fs of tokio ^0.3.1

Affects util::serve_file, util::serve_dir, util::guess_mime_from_path

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.

mime_guess serve_dir