Cargo Features
[dependencies]
mobc = { version = "0.9.0", default-features = false, features = ["unstable", "docs", "tokio", "async-std", "actix-rt"] }
- default = tokio, unstable
-
These default features are set whenever
mobcis added withoutsomewhere in the dependency tree.default-features = false - unstable default
-
Affects
mobc::runtime… - docs
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 default
-
Affects
spawn::spawn_tokio,spawn::get_current_dispatcher… - async-std implicit feature
-
Enables async-std
async-std:
Deprecated in favor of
smol- Async version of the Rust standard library - actix-rt implicit feature
-
Enables actix-rt ^1
actix-rt:
Tokio-based single-threaded async runtime for the Actix ecosystem