Cargo Features

[dependencies]
tk-http = { version = "0.3.9", default-features = false, features = ["sendfile", "date_header"] }
default = date_header, sendfile

TODO(tailhook) remove "sendfile" feature on next major bump

sendfile default = tk-sendfile
date_header default = httpdate

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.

tk-sendfile sendfile
httpdate date_header

Enables httpdate ^0.3.0