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 whenever task-collection is added without default-features = false somewhere in the dependency tree.

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