Cargo Features
[dependencies]
task-collection = { version = "0.0.4", default-features = false, features = ["alloc", "smol", "tokio", "async-std"] }
- default = alloc
-
The
alloc
feature is set by default whenevertask-collection
is added without
somewhere in the dependency tree.default-features = false - alloc default
Features from optional dependencies
- smol implicit feature
-
Enables smol ^1.0
smol:
A small and fast async runtime
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
Affects
task-collection::GlobalTokioSpawner
… - async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
Affects
task-collection::AsyncStdSpawner
…