Cargo Features
[dependencies]
async-imap = { version = "0.10.2", default-features = false, features = ["compress", "runtime-async-std", "runtime-tokio"] }
- default = runtime-async-std
-
The
runtime-async-std
feature is set by default wheneverasync-imap
is added without
somewhere in the dependency tree.default-features = false - compress = async-compression
-
Affects
extensions::compress
… - runtime-async-std default = async-std
-
Enables futures-io of optional async-compression
- runtime-tokio = tokio
-
Enables tokio of optional async-compression
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.