Cargo Features
[dependencies]
sdnotify = { version = "0.2.0", default-features = false, features = ["async_io", "async_await"] }
- default = async_await
-
The
async_await
feature is set by default wheneversdnotify
is added without
somewhere in the dependency tree.default-features = false - async_io = bytes, futures, tokio-codec, tokio-uds
-
Affects
sdnotify::async_io
… - async_await default = tokio1
-
Affects
sdnotify::async_await
…
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-codec async_io?
- tokio-uds async_io?
- futures async_io?
-
Enables futures ^0.1
- bytes async_io?
-
Enables bytes ^0.4
- tokio1 async_await
-
Enables tokio