Cargo Features

http-server has no features set by default.

[dependencies]
http-server = { version = "0.8.9", features = ["dhat-profiling"] }
dhat-profiling = dhat

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.

dhat dhat-profiling?

Enables dhat ^0.2.4