Cargo Features

[dependencies]
unsend = { version = "0.2.1", default-features = false, features = ["std", "alloc", "executor"] }
default = executor, std

These default features are set whenever unsend is added without default-features = false somewhere in the dependency tree.

std default = alloc

Affects executor::StdThreadId

alloc executor std

Affects unsend::channel, semaphore::SemaphoreGuardRc

executor default = alloc, async-task, atomic-waker, concurrent-queue, futures-lite, slab

Affects unsend::executor

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.

async-task is a public dependency, the rest aren't

async-task executor
atomic-waker executor
concurrent-queue executor
futures-lite executor

Enables futures-lite ^1.13.0

slab executor