Cargo Features
product-os-async-executor has no features set by default.
[dependencies]
product-os-async-executor = { version = "0.0.15", features = ["all", "moment", "exec_tokio", "exec_smol", "exec_async_std", "exec_embassy"] }
- default
-
These default features are set whenever
product-os-async-executor
is added without
somewhere in the dependency tree.default-features = false Enables clock of chrono, std of no-std-compat
- all = exec_async_std, exec_embassy, exec_smol, exec_tokio
- moment
-
Affects
moment::Moment
… - exec_tokio all? = tokio
-
Affects
tokio::TokioExecutor
,tokio::Task
… - exec_smol all? = smol
-
Affects
smol::SmolExecutor
,smol::Task
… - exec_async_std all? = async-std
-
Enables async-std
Affects
async_std::AsyncStdExecutor
,async_std::Task
… - exec_embassy all? = embassy-executor, embassy-macros, embassy-time
-
Affects
embassy::EmbassyExecutor
,embassy::Task
…
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.