Cargo Features
[dependencies]
ratpack = { version = "0.1.4", default-features = false, features = ["logging", "tls", "trace", "unix"] }
- default = logging
-
The
logging
feature is set by default wheneverratpack
is added without
somewhere in the dependency tree.default-features = false - logging default = log
- tls = tokio-rustls, webpki
- trace = tracing
- unix
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-rustls tls?
-
Enables tokio-rustls ^0.23
- webpki tls?
- log logging
- tracing trace?