Cargo Features
product-os-async-executor has no features set by default.
[dependencies]
product-os-async-executor = { version = "0.0.16", features = ["moment", "exec_tokio", "exec_smol", "exec_async_std", "exec_embassy", "hyper_executor"] }
- 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
- moment
-
Affects
moment::Moment
… - exec_tokio = tokio
-
Affects
tokio::TokioExecutor
,tokio::Task
… - exec_smol = smol
-
Affects
smol::SmolExecutor
,smol::Task
… - exec_async_std = async-std
-
Enables async-std
Affects
async_std::AsyncStdExecutor
,async_std::Task
… - exec_embassy = embassy-executor, embassy-macros, embassy-time
-
Affects
embassy::EmbassyExecutor
,embassy::Task
… - hyper_executor = hyper
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.