Cargo Features
graceful-shutdown has no features set by default.
[dependencies]
graceful-shutdown = { version = "0.3.0", features = ["stream", "tokio-timeout", "async-io-timeout"] }
- stream = futures-core
-
This can be removed once future streams are in std. See https://github.com/rust-lang/rust/issues/79024
- tokio-timeout = tokio
- async-io-timeout = async-io
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.