Cargo Features
[dependencies]
windmark = { version = "0.3.11", default-features = false, features = ["logger", "auto-deduce-mime", "response-macros", "tokio", "async-std", "prelude"] }
- default = tokio
-
The
tokio
feature is set by default wheneverwindmark
is added without
somewhere in the dependency tree.default-features = false - logger = pretty_env_logger
- auto-deduce-mime = tree_magic
- response-macros
- tokio default = tokio-openssl
-
Enables tokio
Non-blocking I/O
- async-std = async-std-openssl
-
Enables async-std
- prelude
-
Affects
windmark::prelude
…
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.
- tokio-openssl tokio
- async-std-openssl async-std?
- pretty_env_logger logger?
-
Enables pretty_env_logger
Logging
- tree_magic auto-deduce-mime?
-
Enables tree_magic
MIME